summaryrefslogtreecommitdiff
path: root/docs/cache.txt
AgeCommit message (Collapse)Author
2008-08-23Massive reorganization of the docs. See the new docs online at ↵Jacob Kaplan-Moss
http://docs.djangoproject.com/. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15Fixed a ReST error in cache docs.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8378 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15Fixed #8234: Corrected typo in docs/cache.txtJames Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-10Added a return value to the add() method for caches. It's now possible to tellMalcolm Tredinnick
if a call to add() ended up storing something in the cache. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8278 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-09Fixed silly whitespace error in cache docs.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-09Split CacheMiddleware up into two parts -- an update-cache and a ↵Jacob Kaplan-Moss
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-02Removed several deprecated features for 1.0 (refs #7830):Gary Wilson Jr
* "simple" cache backend * `ObjectPaginator` * `edit_inline_type` argument for `ForeignKey` fields * `QOperator`, `QNot`, `QAnd` and `QOr` * `maxlength` argument git-svn-id: http://code.djangoproject.com/svn/django/trunk@8191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-25Fixed #7398 -- Allow for custom cache-backends to be used.Malcolm Tredinnick
Based on a patch from Lau Bech Lauritzen and Brenton Simpson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-26Fixed #6201 -- Improved the {% cache %} template tag to allow the timeout to ↵Adrian Holovaty
be a template variable. Inspired by the patch by zz and edrik git-svn-id: http://code.djangoproject.com/svn/django/trunk@7754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02Documented that the simple cache backend was deprecated in [6822].Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30Edited docs/cache.txt changes from [6580], removing a gross exclamation ↵Adrian Holovaty
point usage in the process git-svn-id: http://code.djangoproject.com/svn/django/trunk@6775 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30Edited docs and docstring changes from [6572] (new cache add() method)Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29Fixed #5813 -- Taught the CacheMiddleware to respect any max-age HTTP headerMalcolm Tredinnick
when setting the expiry time. Thanks, SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-31Fixed #5842 -- Marked cache template tag as "New in development version", ↵Gary Wilson Jr
thanks `SmileyChris`. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21Tweaked the caching docs to be consistent about the format for database cachesMalcolm Tredinnick
(and fixed a formatting error). git-svn-id: http://code.djangoproject.com/svn/django/trunk@6588 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21Fixed #1065 -- Added a "cache" template tag. Thanks, Ian Maurer and, ↵Malcolm Tredinnick
particularly, Nick Lane. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6580 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21Fixed #4493 -- Noted that the LocaleMiddleware's placement w.r.tMalcolm Tredinnick
CacheMiddleware is important. Thanks, SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20Fixed #4831 -- Added an "add" cache key method, for parity with memcached'sMalcolm Tredinnick
API. This works for all cache backends. Patch from Matt McClanahan. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #5284 -- Documented never_cache decorator. Thanks, xbitoAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-04Updated docs/cache.txt section on 'dummy caching' to use the same example ↵Adrian Holovaty
format as the other backends git-svn-id: http://code.djangoproject.com/svn/django/trunk@6049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12Fixed #4763 -- Minor typo in cache documentations. Thanks, dan@coffeecode.net.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-25Fixed #3648 -- Added support for cmemcached Python library. Thanks, ↵Adrian Holovaty
floguy@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@4827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-24Fixed #3333 -- Docs now use relative links, not hard-coded djangoproject.com ↵Adrian Holovaty
links. Thanks for the patch, SmileyChris git-svn-id: http://code.djangoproject.com/svn/django/trunk@4420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18Added note to docs/cache.txt about CACHE_MIDDLEWARE_ANONYMOUS_ONLY=True and ↵Adrian Holovaty
ordering AuthenticationMiddleware. Refs #2541. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20Argh - fixed another typo in the docs for [3395]. One of these days I'll ↵Jacob Kaplan-Moss
learn to proofread better, but don't hold your breath. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20Another quick doc fix -- I must have "nodes" on the brainJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3398 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20Small style fixes to docs from [3395]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3397 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20Added a CACHE_MIDDLEWARE_ANONYMOUS_ONLY setting which makes the cache ignore ↵Jacob Kaplan-Moss
pages served to authenticated users. Fixes #1509 (thanks, Matt). Also added a FAQ entry about using this setting to avoid caching of the admin interface. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26Fixed #1998 -- Changed double quotes to single quotesAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-15Fixed #1880 - typo in caching documentation. Thanks to Matthew Flanagan.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02Fixed more ReST errors in docsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly ↵Adrian Holovaty
backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-24Added note to docs/cache.txt about memcached backend requiring Python ↵Adrian Holovaty
memcached bindings, and added link to that for download git-svn-id: http://code.djangoproject.com/svn/django/trunk@2379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-18Made two small clarifications to docs/cache.txt. Thanks, Paul B.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11Removed 'Only in Django development version' messages from the docs, because ↵Adrian Holovaty
frozen docs for version 0.90 are now available git-svn-id: http://code.djangoproject.com/svn/django/trunk@1898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-03Added 'dummy' cache backendAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1815 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20Fixed #839 -- Fixed typo in docs/cache.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12Fixed #773 -- Removed reference to CACHE_MIDDLEWARE_GZIP in docs/cache.txt. ↵Adrian Holovaty
Thanks, Eugene git-svn-id: http://code.djangoproject.com/svn/django/trunk@1200 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-31More tightening of docs/cache.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-31Made several grammar fixes to cache documentation from [1020]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1030 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-29Fixed #140: memcached backends may now use multiple serversJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1021 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-29Fixed #612 - added cache control headers (thanks, hugo)Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-09Fixed ReST error in docs/cache.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-09Fixed small typo in docs/cache.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@812 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-09-27Fixed #563 -- Fixed minor typo in docs/cache.txt. Thanks, EugeneAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@705 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-25Added a database-backed cache backend, along with a tool in django-admin to Jacob Kaplan-Moss
create the necessary table structure. This closes #515; thanks again, Eugene! git-svn-id: http://code.djangoproject.com/svn/django/trunk@692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-11Fixed #487 -- Fixed typo in docs/cache.txt. Thanks, eugene@lazutkin.comAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02Added note to docs/cache.txt saying CacheMiddleware needs to be first entry ↵Adrian Holovaty
in MIDDLEWARE_CLASSES git-svn-id: http://code.djangoproject.com/svn/django/trunk@616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-31Changed docs/cache.txt to remove db cache, because it's not done yet.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@583 bcc190cf-cafb-0310-a4f2-bffc1f526a37