3 ms·
Check out service workers, they are designed to solve this problem, https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers h
by tantalor 10y ago
Check out service workers, they are designed to solve this problem,
https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers https://developer.mozilla.org/en-US/docs/Web/API/Service_Wor...
In addition to caching JS/CSS, you can also cache your main document so your app can work offline.