Jan Hug
Jan Hug
>And even if I call purgeAll, the same number remains on the page, i.e. it should still come from the cache (which, of course, was deleted). But that can't really...
I've now implemented a way to alter which headers should be stored in cache, using the new `route.alterCachedHeaders` option. That way it's possible to completely remove the `Set-Cookie` header (or...
Currently trying to setup a reproduction. As you stated correctly, using any query parameter as part of the cache key is dangerous. And if I got that right, the bug...
But won't this lead to hydration issues? The cached route that is being served expects a certain query parameter value, say `foo`. When a request is made with value `bar`...
I think I know why this doesn't work and unfortunately there is no easy fix. Nuxt/Nitro does not offer an easy way to implement something like nuxt-multi-cache does for route...
After some digging, I found a way to make this (hopefully) work. I have added some tests specifically with the `h3-compression` library to make sure it works as expected. So...
This sounds interesting, I will give this a try!
@or2e I'm now looking into implementing this. Was there a particular reason you added the `cacheKey` as an option instead of using the `key` argument provided? Just wondering, maybe I'm...
Right - so I guess it would be fine to reuse that key and make it required. For the `cacheExpires` and `cacheTags` options: I thought about making these methods, that...
@or2e @Crease29 I've implemented it now and opened a PR, if you like you can take a look and tell me if the implementation makes sense :smile: The docs are...