Picto thématique

Rule n° 223 - Scripts of the website are minified.

The minification: a simple rule to reduce the volume of data to download, and thereby, accelerate access to your site.

#Basics #Development #Server and performance #Eco-conception

Goal

  • Speed up the display of your pages.
  • Improve performance.
  • Reduce the quantity of data to download.
  • Reduce the energy impact related to the consultation of the site.

Implementation

Remove unnecessary spaces and comments in JavaScript files, using dedicated tools.

Control

For the whole site:

  • Manually check in all the JavaScript files that no new lines, indentations or line breaks are present.
  • Or use the listing of non-minified JavaScript scripts using development tools (browsers, online tools, etc.).

By Opquast - Read the license


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.