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
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
2 matches
Mail list logo