-
Hello, I really curious on the precaching capability and tried serwist, but after several tries, I nearly give up at this point. The serwist seems have two different strategies to handle runtime and precache, but while connection offline, it kept asking and checking the runtime cache while it has nothing in it while I debugging. My question is, does ootb there are option to set check to precached file first then the runtime cache? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I... don't even understand the question that well. Time to brush up on your English man.
I don't see how it would get to this point if
When |
Beta Was this translation helpful? Give feedback.
@benyaminl
Sorry for not replying. I was on a break, so I didn't feel much like replying to questions :(
This was actually a bug caused by navigation preloading being enabled. When you are offline,
await event.preloadResponse
rejects, causing the matched strategy to fail to return a response, despite there being a (pre)cached one.In the next patch, we will catch such errors.