-
I'm using I noticed that the index file doesn't get precached by default (I want to ensure this is in sync with the precached js/css files), so I have set up my init as follows:
However this then prevents some files in my public directory from being precached. I noticed in the code (https://github.com/serwist/serwist/blob/main/packages/next/src/index.ts#L165), The simple workaround is to add my public files to |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@jon-smith ah, back in the 8.x days there was no |
Beta Was this translation helpful? Give feedback.
@jon-smith ah, back in the 8.x days there was no
globPublicPatterns
, soadditionalPrecacheEntries
was made a way to opt out of the behaviour where we precache public files. Well, this can be traced back tonext-pwa
, actually. Still, I guess we can change this in v10 :)