django1/django/middleware
Jacob Kaplan-Moss 7526590376 Split CacheMiddleware up into two parts -- an update-cache and a fetch-from-cache middleware. This lets you run each half of the cache middleware at the correct time to avoid bad interactions between the cache middleware and other middleware that must modify the cache key (like the locale middleware).
CacheMiddleware itself is still around for backwards-compatibility and as a hook point for the cache decorator, but the documentation has been updated to point people towards the two-part caching middleware.

Refs #730.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-09 15:07:45 +00:00
..
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
cache.py Split CacheMiddleware up into two parts -- an update-cache and a fetch-from-cache middleware. This lets you run each half of the cache middleware at the correct time to avoid bad interactions between the cache middleware and other middleware that must modify the cache key (like the locale middleware). 2008-08-09 15:07:45 +00:00
common.py Fixed #7919 -- md5 and sha modules are deprecated since Python 2.5, use hashlib module when available. Patch from Karen Tracey. 2008-08-02 05:56:57 +00:00
doc.py Fixed #2747 -- Make X-Headers work for staff members. Admins with dyanmic IP 2006-09-22 03:17:28 +00:00
gzip.py Fixed #6480 -- Added application/pdf the list of content types we don't compress when sending to Internet Explorer. Thanks, Bastien Kleineidam. 2008-02-04 01:40:53 +00:00
http.py Fixed #7046 -- set the response status code correctly in ConditionalGetMiddleware. 2008-06-30 07:03:58 +00:00
locale.py Fixed #8121 -- Don't override the Content-Language HTTP header in the locale 2008-08-09 15:04:45 +00:00
transaction.py Second half of little cleanup tweaks suggested by pyflakes. 2006-07-21 20:39:17 +00:00