Replies: 1 comment 11 replies
-
Well if That said, I found this in Workbox's documentation:
Are you sure that you had requested the files again after they expired? Just a side note, but |
Beta Was this translation helpful? Give feedback.
-
Hi, I need help 🙏
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.
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.
Maybe I am configuring something wrong?
Beta Was this translation helpful? Give feedback.
All reactions