You can do that using cache() and cache_save() methods in your template :
<?php if (!cache("my-cache-identifier")): ?>
....
<?php endif ?>
Refer to doc.
Alexandre
2009/10/20 shin <[email protected]>
>
> Hello,
>
> I would like to use cache, but only for feed.
> I have an action called "list". and it has two templates, which are
> html and atom.
>
> listSuccess.php
> listSuccess.atom.php
>
> I want atom to cache, but not html.
>
> Has anybody dones this?
>
> --
> shin
>
> >
>
--
Alexandre Salomé -- [email protected]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---