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.

#Eco-conception #Server and performance #Development

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

Business application and benefits

The rules should be applied to your projects from the design phase through to post-implementation , and they should be understood by all professionals with web and customer experience (CX) responsibilities: from strategy to operations, marketers to project managers, and editorial to technical staff. The benefits of using this ruleset are numerous, including improving customer satisfaction, web performance, and e-commerce, and expanding your client base, while also decreasing your errors and costs.

Multidisciplinary verticles - accessiiblity, SEO, e-commerce, ecodesign etc..- starting from the foundational Opquast base.

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 11,000 web professionals to have their skills certified. Train your teams or your students, contact us