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 symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to