Fixit – File minification

This test determines if your page makes use of excessive whitespace. Whitespace in markup, CSS and JavaScript files tend to make them more readable. However the extra data adds significantly to transfer and processing times. Minification is the process of reducing whitespace in files to an absolute minimum. In many cases filesizes can drop by over 30% through minifcation, thus speeding up content delivery and processing.

Checking for minifcation

This test checks to see what percentage of whitespace compression can be achieved for HTML, CSS and JavaScript. If there is a 25% of more saving to be made then the test reports a FAIL.

If you receive a FAIL for this test, you should consider researching minification techniques and best practices.

 

Reference

This test is based on a W3C mobileOK best practice. See http://www.w3.org/TR/mobile-bp/ for more details.

 

Leave a Reply

Exclusive tips, how-tos, news and comment

Receive monthly updates on the world of mobile dev.

Other Products

Market leading device intelligence for the web, app and MNO ecosystems
DeviceAtlas - Device Intelligence

Real-time identification of fraudulent and misrepresented traffic
DeviceAssure - Device Verification

A free tool for developers, designers and marketers to test website performance
mobiReady - Evaluate your websites’ mobile readiness

© 2024 DeviceAtlas Limited. All rights reserved.

This is a website of DeviceAtlas Limited, a private company limited by shares, incorporated and registered in the Republic of Ireland with registered number 398040 and registered office at 6th Floor, 2 Grand Canal Square, Dublin 2, Ireland