Embracing the Network
Patrick Hamann in a fast-paced talk on avoiding single points of failure. He suggests:
- Use preloading and prefetching
- Load fonts asynchronously
- Always use timeouts / circuit breakers for Ajax requests
- Cache resources
- Treat the network as an enhancement
Developers at the Financial Times managed to shave 1.5s off the total download time by providing users with assets served over HTTP/2. I think this suggests just how different the future of performance and optimisation is going to look.
Related: Facebook has started ‘2G Tuesdays’ where employees are encouraged to use a 2G connection all day in order to best simulate user experiences around the globe.