-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Feature request: Allow to disable cache for route #77
Comments
Thank you for opening this issue. I think you are right and this is a missing feature. Changing only the condition you mentioned would not be enough, since the default value of Maybe a cleaner approach would be to set A possible workaround for your case could be to set the lifetime to 1 second. Or the cleaner solution: remove the default |
You right. There is no easy solution. Tnx for fast response! :) |
Let's keep the issue open. Maybe one day I'll find the time to look into it :) |
hello,
I'd like to ask how to uncache specific resource. Lets say we have config like below. As far as i understand I should set -1 to not cache resource.
Then in CacheFactroy.php we have function:
But with
cacheLifeTime = -1
set in resource this condition will not match:and later it will return the default value for cacheLifeTime. So looks like this make impossible to uncache resource if we have defined fallback values.
Maybe I am getting that wrong but changing condition to:
would solve the problem.
I would be glad to hear your opinion.
Tnx!
The text was updated successfully, but these errors were encountered: