django Cache only gets set on page reload
问题 I am trying my hands around using memcache with django on per-view cache. The trouble is cache only gets set if i refresh a page,clicking on same link does not sets the cache.(that is if i set cache_view on dispatch and reload page, i see the number of queries fall down to 3-4 queries otherwise on clicking the same link, cache is not set, and i get the same number of queries even after hitting the same url again and again) Here is my views: class ProductCategoryView(TemplateView): """ Browse