Qualebook

Qualebook

Scripts are minified

Minification involves reducing the data volume and file size by removing unnecessary elements that the reading system does not require, such as spaces, line breaks, and comments. Minified JavaScript files save bandwidth, leading to faster load times and lower energy consumption during transfer and rendering.

Objectives

  • Minimize the amount of data to be downloaded.
  • Improve performance.
  • Reduce the energy impact of reading the ebook.

Implementation

  • Use dedicated tools to remove unnecessary spaces, line breaks, and comments from JavaScript files.

Control

  • Manually check all JavaScript files to ensure that no line breaks, comments, or indentations are present.
  • Or identify unminified JavaScript files using development tools (browser inspectors, online auditors, etc.).

Validation

  • Needs to be verified by a human.