MCQ Hive stays free thanks to ads. Please disable your ad blocker for this site so content and features keep working.
Multiple Browsers
Caching & Performance
Beginner
Q
What is the difference between the HTTP cache and the Cache Storage API?
AThe HTTP cache is managed automatically by the browser from headers; Cache Storage is controlled by code, typically in a service worker
BCache Storage is managed only by the server
CThe HTTP cache is controlled by JavaScript
DThey are the same thing
Correct Answer:
A. The HTTP cache is managed automatically by the browser from headers; Cache Storage is controlled by code, typically in a service worker
Explanation:
Cache Storage gives Progressive Web Apps precise control over offline content.