1. Split up the page in cache-able pieces and leave the main page un-
cached.
2. use AJAX to load content for the changed section.

   gabriel


On Jun 5, 9:54 am, zedan <[email protected]> wrote:
> I want to cache my index page, but i don't want to cache
> [_index_partial] which include by index page, I code cache.yml list
> below, but it can't work, the total index page was cached.
> What can i do to make it work? I know that I can cache all partial in
> index page except _index_partial, but if index page include many
> partials, to code cache config is a heavy work.
> Other suggestion?
>
>      index:
>         enabled: true
>         lifetime: 300
>      _index_partial:
>         enabled: false

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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

Reply via email to