Interview Question

What is offline caching?

Offline caching keeps planned resources available without the network.

💡 Concept ✅ Quick Revision 🌐 HTML

Answer

Offline caching saves selected files so a web app can work with a weak or missing network. • A service worker usually controls the cache. • Choose carefully which files and responses to store. • Old cached files need a safe update plan.

💡 Simple Example

<p>Cache the app shell so the home screen can open offline.</p>

⚡ Quick Revision

Offline caching keeps planned resources available without the network.