instant.page
instant.page copied to clipboard
Not consistently using prefetch cache
I set up instant.page on https://up.codes and it's only working intermittently on Chrome (FF is fine). Here's a video of what I'm experiencing. It seems like it only uses the prefetch cache if the link is in the process of being prefetched when it is clicked. I've tried matching the Cache-Control headers on instant.page's website but that didn't help.
Any ideas on how I can make it work more consistently?
Note: this page no longer has instant.page on it.
Two things are conflicting with Chrome's prefetch cache in the response headers (as seen on https://up.codes/codes/nebraska):
Cache-Controlwithno-store.Vary: Cookiecoupled withSet-Cookie: session=…that sets a different cookie on every page request.