The internet has become a bloated mess. Massive JavaScript libraries, countless client-side queries and overly complex frontend frameworks are par for the course these days.
When online newspapers like The Guardian are over 4MB in size, you know there's a problem. Why does an online newspaper need to be over 4MB in size? It's crazy.
But we can make a difference - all it takes is some optimisation. Do you really need that extra piece of JavaScript? Does your WordPress site need a theme that adds lots of functionality you're never going to use? Are those huge custom fonts really needed? Are your images optimised for the web?
The 512KB Club is a collection of performance-focused web pages from across the Internet. To qualify your website must satisfy both of the following requirements:
- It must be an actual site that contains a reasonable amount of information, not just a couple of links on a page (more info here).
- Your total UNCOMPRESSED web resources must not exceed 512KB.
- Fork this repository.
- Get the UNCOMPRESSED size of your website's homepage.
- Do a GTMetrix scan on your website.
- Once complete, click on the Waterfall tab to make sure the uncompressed size of your site is less than 512KB.
- Navigate to
_data/sites.yml
and add your site (template below). - When creating the PR, please include a link to the GT Metrix results in the PR comment.
- domain: example.com
url: http://example.com/ (Make sure you keep the trailing slash)
size: 2.5
last_checked: 2021-05-26 (YYYY-MM-DD)
- domain:
url:
size:
last_checked:
NOTE: Site need to be added to the list in alphabetical order, so please make sure your site is in the correct place within the list, or your PR will be rejected.
You can find instructions on how to get the GTmetrix size using a script in the scripts folder