In Chrome, any JavaScript files in a service worker cache are bytecode-cached automatically.
This means there is 0 parse + compile cost for them on repeat visits.
https://v8.dev/blog/code-caching-for-devs#use-service-worker-caches …
-
-
Wait, caches is available on window as well. Does this apply there too?
-
No, it’s specific to service worker caches. (I asked
@leszekswirski the same thing while working on this article!)pic.twitter.com/ExehvuIwhg
- 1 more reply
New conversation -
-
-
Do you know if CacheStorage compilation now occurs in any event? Or is it still limited to `oninstall`?
-
It's limited to the install event at the moment. See this discussion:https://twitter.com/jeffposnick/status/1115614826741551105 …
End of conversation
New conversation -
-
-
Tell that to almost every WordPress theme out there!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.