-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
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
maxAge = 3600000 (41 days) is not a sensible default value #98
Comments
Max age is in Ms which 3,600,000ms is one hour. |
right. I'm sending it as response header, so that causes me troubles. |
I suggest you change the definition of maxAge on version 5.x.x (it is a breaking change) - to seconds instead of milliseconds. Also - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/strapi-community/strapi-plugin-rest-cache/blob/main/packages/strapi-plugin-rest-cache/server/types/CacheRouteConfig.js
In fact, it has caused me a serious bug in production.
A sensible value would be 3600, which is 1 hour, which is what I think the author has intended
The text was updated successfully, but these errors were encountered: