Jan Hug
Jan Hug
I would try to move `const { value, addToCache } = await useDataCache(key)` outside of `useAsyncData` into your composable. You might also need to enable the experimental [asyncContext](https://nuxt.com/docs/guide/going-further/experimental-features#asynccontext) feature of...
@plcdnl In #58 a new composable called `useCachedAsyncData` was implemented that now also implements a client-side cache. The plan is to also add this functionality to `useDataCache` in #59. I...
As this has already been released in the last release, I'm going to close this issue.
This is a tricky topic: It depends on what you want to achieve. If during SSR you render anything user related (such as their user name), then you must vary...
The module adds its own event handler that serves a route from cache: https://github.com/dulnan/nuxt-multi-cache/blob/main/src/runtime/server/handler/serveCachedRoute.ts#L41 The handler is added via a nitro plugin here: https://github.com/dulnan/nuxt-multi-cache/blob/89036d8a330a025caa93e58f2df87fdcbd6dbc62/src/runtime/server/plugins/multiCache.ts#L56 The reason it's done like this...
Closing this, please let me know if (and how) you managed to resolve your issue, would be interested to know. Also I'm happy to assist further if needed if it's...
Thank you for bringing this to my attention. Personally I don't use any compression at this level but instead handle it via nginx or varnish. I originally added it to...
Added this [in the docs](https://nuxt-multi-cache.dulnan.net/advanced/route-cache-with-compression), in addition to writing a test case using this library.
I was under the impression that whenever a new event is created (for example when using $fetch in a component to get some data from a server handler) that the...
~~I updated to the latest Nuxt version in the module and ran the tests; and indeed a ton of tests started to fail, including one's for the data cache. So...