Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.26 KB

BP_079_en.md

File metadata and controls

39 lines (25 loc) · 1.26 KB

Combine CSS and JavaScript files

Identifiers

GreenIT V2 V3 V4
89 81 79

Categories

Life cycle Tiers Responsible
4. Production Network Software Architect/Developer

Indications

Priority Implementation difficulty Ecological impact
4 3 4
Saved resources
Queries

Description

Combining CSS stylesheets and JavaScript libraries reduces the number of HTTP queries.

Examples

"Autoptimize" plugin makes CSS files combining in WordPress easy and is available for free.

"webpack-merge-and-include-globally" plugin simplifies the process of merging CSS and JavaScript files in Webpack.

Validation rule

The number of ... is equal to or less than
non-combined CSS and JS files 2