Goal
- Improve the speed of the page’s rendering.
- Reduce bandwidth costs.
- Reduce the energy impact related to the consultation of the site.
Implementation
Activate the server's Gzip or Deflate module to compress JavaScript, CSS and HTML resources.
Control
For each page checked:
- Check the content compression (Gzip) using a dedicated tool.
Be careful to check all of the linked elements (CSS, JS, HTML) and not just the page itself. Formats such as JPEG or PNG images or zip files which are already compressed, for example, should not be recompressed. If
the size before compression of an element is less than 1 kB, it is not necessary to compress it, because the size might increase.
Discover Opquast training and certification
The objective of these rules and the Opquast community mission is ‘making the web better’ for your customers and for everyone! Opquast rules cover the key major areas of risk that can negatively affect website users such as privacy, ecodesign, accessibility and security.
Opquast training has already allowed over 19,000 web professionals to have their skills certified. Train your teams, contact us
We offer a 1 hour free discovery module.