How would you optimize a website's assets resources?
Website’s assets resources are images, styles, scripts, and also external media.
To optimize these assets you can opt following ways-
- Make all assets lightweight so that it's easy to download
- The use of a Content Delivery Network (CDN) helps to optimize assets
- While hosting assets on different domains make sure to reduce DNS lookups.
- Use of CSS Sprites.
- Disable etags.
BY Best Interview Question ON 08 Jan 2021