Request/Response Caching #111
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey, The module does not support this feature yet as it seems to be quite a new one. You can recommend it as an issue and I can work on it as a part of the next release. I believe that it only requires an options object to be passed to the useAlgoliaSearch and useAlgoliaRef composables and maybe bump some packages. Or, you can always create a helper function that will store the result of search in memory cache. It will work very similar to the approach shown in the docs. It can be implemented by using useStorage from Nuxt or by package 'memory-cache'. Let me know what solution would work for you best :) |
Beta Was this translation helpful? Give feedback.
Hey,
The module does not support this feature yet as it seems to be quite a new one. You can recommend it as an issue and I can work on it as a part of the next release.
I believe that it only requires an options object to be passed to the useAlgoliaSearch and useAlgoliaRef composables and maybe bump some packages.
Or, you can always create a helper function that will store the result of search in memory cache. It will work very similar to the approach shown in the docs. It can be implemented by using useStorage from Nuxt or by package 'memory-cache'.
Let me know what solution would work for you best :)