Google News
logo
HTML5 - Interview Questions
How do you optimize a website's assets & reduce page load time?
Follow these steps to optimize assets and also reduce the page load time of any website :
 
* Disabling etags.
* Properly naming all assets.
* Using CSS Sprites for Images.
* Minimizing the use of JS in code.
* Using a content delivery network (CDN) for media files.
* Minimizing inline CSS and using internal and external style sheets.
* Hosting assets on different domains while also reducing DNS lookups
* Using a cookie-free domain to place assets and splitting them among domains
Advertisement