fabpot/Twig — pull request #741 by klaussilveira (2012-05-29 04:48:00+00:00)
Title: Decoupling Cache, Memcache support

I wanted to add Memcache support to Twig but ended up facing a lot of problems since the caching method was too focused on filesystem operations. I ended up decoupling most parts of caching and implemented Memcache as an example.

It has lot's of room for improvement, specially when it comes to decoupling things more and more. But this is a pretty good start, i guess. Tests included, of course.