I was just able to write my own view cache class and activate it ove开发者_运维知识库r 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.
Check out this chapter.
精彩评论