Re: use of @vary_on_cookie decorator with URLconf based cache_page usage

2010-01-07 Thread Justin L
lly   > caching views per analytics cookie change... That bugged us for a   > while in our project. > > Att, > Victor Lima > > Em 05/01/2010, às 21:32, Justin L escreveu: > > > For several months, we have been caching views using the URLconf > > method (urls.py).

use of @vary_on_cookie decorator with URLconf based cache_page usage

2010-01-05 Thread Justin L
For several months, we have been caching views using the URLconf method (urls.py). An entry from urls.py is below as an example: url(r'^(?P.*)/content/(?P[-\w]+)/$$', cache_page (hierarchies.views.category_content_detail, CACHE_TIMEOUT), name='category_content_detail'), Recently, we had a need to