Feature Request #984

feature request: prefix for the cache library

Added by Ferenc Kovacs - about 3 years ago. Updated about 2 years ago.

Status:Closed Start date:
Priority:Normal Due date:
Assignee:Kiall Mac Innes % Done:

0%

Category:Libraries:Cache
Target version:2.4
Resolution:fixed Points:

Description

I'm hosting multiple kohana project on the same machine, and I'm using memcache for caching. But the memcache items are global so I have to take care for avoiding name-clashing.
I've started to play with the cache library, but it seems that I can't overload drivers, so I would be happy, if some prefix, or namespace configuration variable could be set from the cache/memcache config.

memcache.patch (1.7 kB) Redmine Admin, 12/20/2008 05:39 pm


Related issues

related to Kohana v2.x - Feature Request #723: Cache should allow memcache multi_get for performance 2.4 Closed

Associated revisions

Revision 4701
Added by Kiall Mac Innes about 2 years ago

Fixes #984 + Some other minor issues

History

Updated by Redmine Admin about 3 years ago

Hi All,

I've been using the memcache driver a little recently and thought this was a nice feature request, so I've gone ahead and implemented this

Please see attached path

Cheers

/Matt

Updated by Jeremy Bush over 2 years ago

  • Status changed from New to Assigned
  • Assignee set to Chris Bandy
  • Priority changed from High to Low
  • 11 set to 2.3.4

Updated by Kiall Mac Innes over 2 years ago

  • Assignee changed from Chris Bandy to Kiall Mac Innes
  • Priority changed from Low to Normal

Updated by Isaiah DeRose-Wilson about 2 years ago

  • Tracker changed from Bug Report to Feature Request

Updated by Kiall Mac Innes about 2 years ago

  • Status changed from Assigned to Closed
  • Resolution set to fixed

This has been implemented.

Please bear in mind that using a prefix will completely negate all the cache performance benefits gained in 2.4.

Also available in: Atom PDF