1

I was just able to write my own view cache class and activate it over factories.yml. Now I'm wondering how I can do the same for the config cache.

Edit: Fist I thought symfony will automatically use the caching method I choosed for view cache, but it doesn't.

Solution:

It's not very clean but it works. I extended the sfApplicationConfiguration and replaced it. Then I overwrote the method getConfigCache(). Here I replaced sfConfigCache with my sfConfigBlobCache.

ownking
  • 1,956
  • 1
  • 24
  • 34

1 Answers1

1

Check out this chapter.

Darmen Amanbay
  • 4,869
  • 3
  • 29
  • 50
  • Thx for the link, but I can't find a ready to use example which shows for instance how to use mysql for config caching instead of the default file cache. – ownking Feb 01 '11 at 11:53