Caching and comments

2008-10-16 Thread Matic Žgur
Hi, I used to cache the whole site, but then comments would not be displayed on time, which is not good. I switched to per-view caching now and I cache everything in my blog except post_detail function (it displays a certain blog post) which includes the comments. I decided to cache fragments of

Caching and comments

2008-04-26 Thread Bret W
This may be exceedingly obvious, but it took me a little bit of Googling for "template fragment caching expiry" before I realized there was an easier way to do what I was looking for. I use template fragment caching (so simple!), but it's annoying when someone comments and his comments don't show