How to reset the strong cache after the strong cache expires instead of negotiating the cache

as shown in the figure above, I expect a strong cache all the time. If the strong cache fails, reset the strong cache and get the cache from memory instead of returning 304, which results in the overhead of interacting with the server. I"d like to ask, how to set up ~ trouble ~


Hello.


I don't think this is necessary, and there is really no way to specify that the cache never expires or automatically resets the expiration time. If you want to talk about the persistence of some static resources to the user's browser, you can use pwa

.
Menu