April 19, 2020
Estimated Post Reading Time ~

Improve Web Page Performance

Issue
How to improve web page performance.


Impact
Increase rendering performance.

Recommendations

Enable gzip compression
Compressing javascript resources with gzip could reduce their transfer size by about two thirds. 
You can enable gzip in OSGi configuration as well from the ConfigMgr for 'Adobe Granite HTML Library Manager'.


Optimize the order of styles and scripts:
External CSS files were included after an external JavaScript file in the document head. To ensure CSS files are downloaded in parallel, always include external CSS before external JavaScript.

Put CSS in the document head
CSS in the document body adversely impacts rendering performance


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.