December 21, 2022
Estimated Post Reading Time ~

Web Performance Tip

Web Performance Tip 

Defer all the non-critical scripts for better performance 



More about the `defer` attribute: 
⇒ DOMContentLoaded event is fired only after executing all the deferred scripts. 
⇒ When there are multiple scripts with the `defer` attribute, they get executed in the same order as they appear on the HTML page.


By aem4beginner

No comments:

Post a Comment

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