Checks if web resources are minified for optimal performance
Analyzes web pages and their linked resources (CSS and JavaScript) to determine if they are properly minified for optimal performance and reduced file sizes.
This checker analyzes HTML pages and their linked CSS and JavaScript resources to determine their minification status. It uses sophisticated heuristics including line length analysis, whitespace ratio calculation, structure density analysis, and comment ratio detection to identify whether content has been properly minified. The checker fetches the main HTML page, extracts all CSS and JavaScript URLs, and concurrently analyzes each resource to provide a comprehensive minification assessment.
| Status | Description | Test Logic |
|---|---|---|
| SUCCESS | All resources (HTML, CSS, JavaScript) are properly minified | HTML is minified AND all CSS files are minified AND all JavaScript files are minified. All resources meet the minification thresholds for line length, whitespace ratio, structure density, and comment ratio. |
| WARNING | Some resources are minified while others are not | At least one resource is minified (minifiedResources > 0) but not all resources meet the minification criteria. This indicates partial optimization where some resources benefit from minification while others remain unoptimized. |
| FAIL | No minification found - all resources appear to be unminified | No resources meet the minification criteria (minifiedResources = 0). All HTML, CSS, and JavaScript content fails to meet the established thresholds for line length, whitespace ratio, structure density, and comment ratio, indicating no optimization has been applied. |
Performance Impact: Unminified resources significantly increase page load times and bandwidth usage, especially on mobile devices and slower connections. SEO Impact: Search engines consider page speed as a ranking factor, so unminified resources can negatively affect search rankings. User Experience: Slower loading times lead to higher bounce rates and reduced user engagement. Cost Implications: Larger file sizes increase bandwidth costs for both users and hosting providers.
Add this checker to your monitoring setup and start identifying issues on your websites today.