I am using Symfony 1.3.2, and I have a page that uses partial from another module.
I have two modules: 'foo' and 'foobar'. In the "foo" module, I have an "index" action that uses the partial from the "foobar" module.
so foo / indexSuccess.php looks something like this:
<?php <div id = 'container'> <div id='part1'>Some data here</div> <div id='part2'><?php include_partial('foobar/foobar_partial', $partial_params); ?></div> </div> ?>
I want to cache the 'part2' of my foo / indexSuccess.php page because it is very expensive (slow). I want the cache to have a lifetime of about 10 minutes.
In /frontend/modules/foo/config/cache.yml applications
I need to know how to cache the "part2" of the page (ie the [very expensive] partial part of the page. Can someone tell me which entries are required in the cache.yml file?
source share