I've switched from Phptal to Twig: very better experience. However, in phptal I did "tal:cache" to cache some blocks of code... with Twig, how can I accomplish that?
You can cache blocks in twig with this extension:
https://github.com/asm89/twig-cache-extension
It allows you to cache blocks of a template based on TTL, a changing cache key, etc.