We’re building some pretty fat sites right now. The average site is over 2MB, which is ridiculous – and in many countries very expensive.
But it’s not such a huge problem that it can’t be solved. Developers need to build with care to make sure the sites they produce are lean and fast.
Here are things should be doing to improve the performance of their websites…
- Compress your images and serve them at correct size
- If you’re going to use something like Bootstrap, be sure you remove all the unused CSS in a build process. There’s a ton of unnecessary bloat.
- Optimise for the critical path so that your content appears as quickly as possible
- Start familarising yourself with HTTP/2 because that changes so many things