-
Notifications
You must be signed in to change notification settings - Fork 68
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
Disable lada-cache for certains queries #80
Comments
L6 is not yet supported. We're working on it. As soon as it's released the mentioned problems should be gone. Do you think it's an actual use case that people might want to disable caching for specific queries? The library already offers an option to disable caching for specific tables. |
Yes, I think the package should allow user to disable it programmately for certain queries, not for certain tables. There are operations I would do without pass trough lada-cache |
I am not sure if this could be implemented like you suggested, since there are many different ways to initiate a query in Laravel (from Models, from Eloquent, from Query Builder, etc.). Possibly we'd end up having something like this:
|
Yes this should be pefect! |
Hello, I have similar issue. |
any updates on this feature, it be great if we can implement LadaCache::disable(); |
Unfortunately I don't have the capacity to implement this at the moment. Contributions are welcome. |
This would help,but,it's better to be supported in lada-cache package // disable cache all |
lada-cache on Laravel 6 is giving me some problem and sometimes the queries are not invalidated and subsequent queries to the database return inconsistent data.
I would therefore like to understand if it is possible to disable lada-cache for certain queries to the database, here is an example:
What do you think?
The text was updated successfully, but these errors were encountered: