Closed BabyDino closed 1 year ago
Hello @BabyDino We have updated the documentation, here are more details about cache keys and auth with two examples (one public shared cache, and one per user cache):
https://strapi-community.github.io/strapi-plugin-rest-cache/guide/strategy/cache-keys.html
Thank you! This makes sense.
This chapter has no content, but I am trying to figure out a way to cache authorized calls. Can anyone point me in a general direction to cache authorized calls (without setting hitmiss to false).
And setting a key based on
ctx
, is that maybe that could be considered as a feature? For example: use the role id of the user to create a caching key.