Closed Viktor-as closed 5 months ago
Hi there,
Workbox is moving to a new engineering team within Google. As part of this move, we're declaring a partial bug bankruptcy to allow the new team to start fresh. We realize this isn't optimal, but realistically, this is the only way we see it working. For transparency, here're the criteria we applied:
v7
branch.Thanks, and we hope for your understanding! The Workbox team
Browser & Platform: Google Chrome Version 117.0.5938.150
Issue or Feature Request Description: Hi, in Next Js I use @ducanh2912/next-pwa library to integrate workbox into Next Js. I am caching images and I want the cache to delete it self every day and not to cache more then for example 50 images - but its not working.
This is my next.config.js:
I import my runtimeCaching rules from another file ./services/cache.js it has this code:
So I am able to cache all images, but maxEntries: 20 and maxAgeSeconds: 60, does not work. In chrome dev tools I see in the cache like 100+ images, and they do not disappear after 1 min. My PWA app gets very big, very fast.