lucee / extension-redis

Lucee Redis Cache Extension
11 stars 13 forks source link

Namespace option missing from Redis standalone #6

Open asimonsWV opened 5 years ago

asimonsWV commented 5 years ago

When creating a new cache connection in Lucee, only the Redis Sentinel option has the ability to set a namespace for the cache. When selecting "Redis driver" to use a non-Sentinel instance, all keys have the same (blank) namespace.

All of our caches are defined separately (object, template, query, resource, etc) and use the same Redis server, and I doubt this is a unique case. The major side-effect of this is that clearing any of the caches clears all of them (including the caches for client and session storage).

Is the "namespace" field just missing from the GUI or is it missing from the driver? Just curious if it would be possible to add the namespace by editing the lucee-[server|web].xml file that defines the caches.

MordantWastrel commented 3 years ago

@asimonsWV Passing it in as a field in the custom struct for an Application.cfc definition still gets ignored on the standalone driver. The README calls out namespace as being supported but we've never been able to get it to work.

jamiejackson commented 1 year ago

https://luceeserver.atlassian.net/browse/LDEV-4389