Dec
18th
Tue
18th
Django | Django’s cache framework | Django Documentation | Template fragment caching
Not sure how new this is (I just discovered it) but Django now has a very easy way to cache template blocks.
You can, straight from the template, cache blocks and define a timeout. It even lets you pass as many keys as you’d like (for example: cache a block for a specific user).
Amazing!