Hacker News new | past | comments | ask | show | jobs | submit login

Service workers can manually cache stuff ahead of time if it thinks you will need them later.

For example if you visit the admin login page, it can trigger a fetch of the assets for the admin page, then stuff them in its own cache.




Service workers are not needed, and manually managing the cache seems overly complex.

https://css-tricks.com/prefetching-preloading-prebrowsing/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: