Currently the cache engines takes their configuration directly from $conf. This makes it difficult to create them programmatically.

Comments

damien tournoud’s picture

Status: Active » Needs review
StatusFileSize
new5.39 KB

Here is the patch.

david strauss’s picture

Subscribe.

andypost’s picture

Nice idea! One step to pluggable cache... per-user configurable storage

andypost’s picture

Suppose every backed should have static method to provide info about own's config:
memcache - servers with params
file - folder
apc, eacc, xcache - none.. but maybe sometime

cacherouter.module already have admin section with statistics so another tab with options (settings) or per statistic-backend link to it's own settings

I will return to this latter with code but first better talk about that

slantview’s picture

Status: Needs review » Fixed

Applied patch to 5/6/7 branches. Should make it easier to extend cache router to do dynamic cache creation. Should be interesting what comes from this.

Thanks a ton.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.