Google News
logo
Full Stack Developer - Interview Questions
How to enhance a website's scalability and efficiency?
We can use the following ways to optimize the scalability and efficiency of a website :
 
* Reducing DNS lookup
* Avoiding URL redirects
* Avoiding duplicate codes
* Avoiding unnecessary images
* Leveraging browser caching
* Deferring parsing of JavaScript
* Avoiding inline JavaScript and CSS
* Using srcset for responsive images
* Placing all assets on a cookie-free domain, preferably using a CDN.
Advertisement