summaryrefslogtreecommitdiff
path: root/django/middleware/cache.py
AgeCommit message (Collapse)Author
2005-10-19Fixed #647 -- Fixed cache middleware not to expect _cache_update_cache, in ↵Adrian Holovaty
case of 404s and 500s. Thanks, Eugene git-svn-id: http://code.djangoproject.com/svn/django/trunk@954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-10Fixed #599 -- locmem cache now uses deepcopy() to prevent aliasing. Thanks, HugoAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-09Fixed #580 -- Added mega support for generating Vary headers, including some ↵Adrian Holovaty
view decorators, and changed the CacheMiddleware to account for the Vary header. Also added GZipMiddleware and ConditionalGetMiddleware, which are no longer handled by CacheMiddleware itself. Also updated the cache.txt and middleware.txt docs. Thanks to Hugo and Sune for the excellent patches git-svn-id: http://code.djangoproject.com/svn/django/trunk@810 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06Fixed #333 and #440 -- Split DEFAULT_MIME_TYPE setting into ↵Adrian Holovaty
DEFAULT_CONTENT_TYPE and DEFAULT_CHARSET. Thanks, Maniac. git-svn-id: http://code.djangoproject.com/svn/django/trunk@786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18Added django.middleware.cache, which lets you cache an entire Django-powered ↵Adrian Holovaty
site by adding a line to your settings git-svn-id: http://code.djangoproject.com/svn/django/trunk@178 bcc190cf-cafb-0310-a4f2-bffc1f526a37