Skip to content
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

Cache Prefix Setting #4

Open
MordantWastrel opened this issue Dec 7, 2018 · 3 comments
Open

Cache Prefix Setting #4

MordantWastrel opened this issue Dec 7, 2018 · 3 comments

Comments

@MordantWastrel
Copy link

A terribly handy feature of the Ortus Redis connector is the ability to specify a cache prefix on a per-cache basis. The use case here is if we have several instances of an application and we want some cache data shared between them (in which case we'd use the same or no prefix) and other cache data to be unique to the instance.

This would be specified in the custom properties for the cache definition in Application.cfc (and Lucee admin, though we do all this stuff in Application.cfc).

@anders16000
Copy link

I would want the cache prefix very much.
Currently the caches are mixed up between my two applications.
Is there another way to solve it except having two Redis databases?

@MordantWastrel
Copy link
Author

We contacted LAS last October to try and sponsor this (and other) updates to this extension and they did not respond. I would try the Ortus extension: https://www.ortussolutions.com/products/redis-lucee

@MordantWastrel
Copy link
Author

For anyone interested, John Berquist's fork of this extension supports cache prefixes:

https://github.com/jcberquist/extension-redis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants