Re: Understanding per view cache

2007-12-09 Thread Antoni Aloy
I have one solution (patching the cache) so the cache key is generated using the current language. What I can't see is that the key generation takes into account the vary headers to generate the cache, so perhaps I have not undesrtood the documentation. -- Antoni Aloy López Binissalem - Mallorc

Understanding per view cache

2007-12-09 Thread Antoni Aloy
Hello all! I'm tryingn to use a the per view cache decorator cache_page, but I have a multi-languaje site so the cache engine must generate its key based on the page language. Using cache_page as is, doesn't work so my idea is to use the vary headers decorator. I have added patch_vary_headers(re