We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As the title, I don't see any cache instruction headers like Cache-Control: in the API response. my current configuration:
"rest-cache": { config: { provider: { name: "memory", options: { max: 32767, maxAge: 3600, }, }, strategy: { maxAge: 3600000, contentTypes: [ // list of Content-Types UID to cache "api::category.category", "api::printer.printer", "api::supporter.supporter", "api::seller.seller", ], enableEtag: true, hitpass() { return false; }, }, }, }
The text was updated successfully, but these errors were encountered:
It's very surprising to see that a REST cache plugin does not read nor respond with the Cache-Control header.
Cache-Control
Sorry, something went wrong.
I've opened a PR (#96) to add some minimal support that would help my project.
I really hope this project it maintained. I'm willing to work on this PR if there are comments.
It seems this package is not maintained. I've forked it to @vegan-friendly/strapi-plugin-rest-cache version 4.3.1 has this issue (and related PR) resolved.
No branches or pull requests
As the title, I don't see any cache instruction headers like Cache-Control: in the API response.
my current configuration:
The text was updated successfully, but these errors were encountered: