On May 4, 8:43 am, "Luciano A. Andrade" <[EMAIL PROTECTED]>
wrote:

> I don't know that much about caching, but i think you need to explain
> a lilte more.

Well, if you set a cache key in a template by adding some code for it:

<?php if (!cache('footer')): ?>
     ...footer HTML...
<?php cache_save(); ?>
<?php endif  ?>

Then the URI changes so that '?_sf_cache_key=footer' gets added to the
query string.

This breaks the existing routing of course. I tried adding a rule to
handle that situation but Im still getting a routing error so Im
probably doing something wrong. Maybe someone with a better
understanding of routing rules than me can explain how to handle that?



--~--~---------~--~----~------------~-------~--~----~
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