workbox icon indicating copy to clipboard operation
workbox copied to clipboard

If you use "speculationrules" workbox multiplies caches with the same name every time the user navigates to a page that has been "pre-rendered"

Open andyj2022 opened this issue 1 year ago • 1 comments

Library Affected: Workbox 7.0.0 and 7.1.0

Browser & Platform: Google Chrome 125 and 127 (Canary)

Issue or Feature Request Description:

If you use "speculationrules" workbox multiplies caches with the same name every time the user navigates to a page that has been "pre-rendered"

cache-service-worker-speculation-rules

andyj2022 avatar May 31 '24 07:05 andyj2022

Please any help or pointers?

andyj2022 avatar Aug 22 '24 07:08 andyj2022

Sorry. Documentation (https://developer.chrome.com/docs/web-platform/prerender-pages):

Speculation rules are not supported for prefetch for pages controlled by service workers. We are working to add this support. Follow this Support service worker issue for updates. Prerender is supported for service worker-controlled pages.

andyj2022 avatar Feb 18 '25 10:02 andyj2022