Be able to exclude certain objects from Redis (Object Cache Pro)
Hi, it would be very useful to be able to exclude certain objects from the Object Cache Pro plugin.
I currently have a setup in which a certain post query varies from user to user, and Redis caches it, serving one user's cached version to the rest of users, which breaks my site's functionality.
So now I'm forced to fully deactivate the plugin, instead of just leaving that certain object out of the cache.
-
Daniel Maxon commented
That’s a really valid point — having the ability to exclude specific objects from being cached in Object Cache Pro would be super helpful, especially in scenarios like yours where content varies per user. Right now, without fine-grained control, it does feel like an all-or-nothing situation, which can be frustrating. Hopefully, future updates will include a way to blacklist or bypass certain queries.
If you're into modded mobile games while working through caching headaches, check out this one: https://stardewvalleyapkdl.com/ — might be a fun break!
-
Rabota commented
Object Cache Pro does allow for some groups to be ignored: https://objectcache.pro/docs/ignoring-groups
Please allow this functionality