Question 6 of 10Pro Only
How does browser caching work, and what HTTP headers control caching behavior? How would you implement an effective caching strategy for a web application?
Sample answer preview
## How Browser Caching Works When a browser fetches a resource, it can store a copy locally. On subsequent requests, the browser checks if it can use the cached version instead of downloading again.
Cache-ControlETagLast-Modifiedcache invalidationCDNmax-age