summaryrefslogtreecommitdiff
path: root/docs/topics/cache.txt
AgeCommit message (Collapse)Author
2014-08-19Removed unnecessary code-block directives.areski
2014-07-25Fixed #22827 -- clarified what each cache middleware does.Moayad Mardini
Thanks Keryn Knight for the report.
2014-07-02Clarified that LocMemCache is per-process; refs #7639.Tim Graham
Thanks projectgus for the suggestion.
2014-05-22Fixed #22667 -- Replaced leader/follower terminology with primary/replicaFlavio Curella
2014-05-20replaced occurrences of master/slave terminology with leader/followerFlavio Curella
2014-04-16Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests.chriscauley
Thanks tomwys for the suggestion.
2014-04-03Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
2014-03-24Removed versionadded/changed annotations for 1.6.Tim Graham
2014-03-24Fixed #22247 -- Replaced "upstream" with "downstream" in cache docs.Tim Graham
Thanks valgarv at gmx.net for the report.
2014-03-04Fixed #22085 -- Added a feature for setting non-expiring keys as the default.zedr
This feature allows the default `TIMEOUT` Cache argument to be set to `None`, so that cache instances can set a non-expiring key as the default, instead of using the default value of 5 minutes. Previously, this was possible only by passing `None` as an argument to the set() method of objects of type `BaseCache` (and subtypes).
2014-02-28Fixed doc typos.Tim Graham
2014-02-25Fixed docs typos.Szczepan Cieślik
2014-01-16Fixed #16785 -- Documented some of the design decisions of the cache framework.Tim Graham
Thanks jamesp for the draft patch.
2013-12-28Fixed doc indentation in previous commit.Tim Graham
2013-12-28Fixed #20346 -- Made cache middleware vary on the full URL.ijl
Previously, only the URL path was included in the cache key. Thanks jamey for the suggestion.
2013-11-30Removed gender-based pronouns per [c0a2daad78].Tim Graham
2013-11-24Fixed some unnescesarily gendered language in the docsAlex Gaynor
2013-11-23Fixed #21012 -- New API to access cache backends.Curtis Maloney
Thanks Curtis Malony and Florian Apolloner. Squashed commit of the following: commit 3380495e93f5e81b80a251b03ddb0a80b17685f5 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sat Nov 23 14:18:07 2013 +0100 Looked up the template_fragments cache at runtime. commit 905a74f52b24a198f802520ff06290a94dedc687 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sat Nov 23 14:19:48 2013 +0100 Removed all uses of create_cache. Refactored the cache tests significantly. Made it safe to override the CACHES setting. commit 35e289fe9285feffed3c60657af9279a6a2cfccc Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sat Nov 23 12:23:57 2013 +0100 Removed create_cache function. commit 8e274f747a1f1c0c0e6c37873e29067f7fa022e8 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sat Nov 23 12:04:52 2013 +0100 Updated docs to describe a simplified cache backend API. commit ee7eb0f73e6d4699edcf5d357dce715224525cf6 Author: Curtis Maloney <curtis@tinbrain.net> Date: Sat Oct 19 09:49:24 2013 +1100 Fixed #21012 -- Thread-local caches, like databases.
2013-11-22Noted that localmem is the default cache.mlissner
2013-11-07Fixed #20536 -- rewrite of the file based cache backendJaap Roes
* Safer for use in multiprocess environments * Better random culling * Cache files use less disk space * Safer delete behavior Also fixed #15806, fixed #15825.
2013-10-23Fixed #20945 -- Allowed cache tag to use a specific cache.Curtis Maloney
2013-10-14Fixed #15888 -- Made tablename argument of createcachetable optionalClaude Paroz
Thanks Aymeric Augustin for the report and the documentation and Tim Graham for the review.
2013-09-20Fixed #20877 -- added a performance optimization guideevildmp
2013-09-18Fixed #21116 -- Made usage of manage.py in docs more consistent.Tim Graham
Thanks daniel.quattro at gmail.com for the report.
2013-09-11Fixed #20887 -- Added a warning to GzipMiddleware in light of BREACH.Tim Graham
Thanks EvilDMP for the report and Russell Keith-Magee for the draft text.
2013-09-11Documentation -- Improved description of cache argumentsKevin Christopher Henry
- Fixed some grammar and formatting mistakes - Added the type and default for CULL_FREQUENCY - Made the note on culling the entire cache more precise. (It's actually slower on the filesystem backend.)
2013-08-09Merge remote-tracking branch 'core/master' into schema-alterationAndrew Godwin
Conflicts: django/core/management/commands/flush.py django/core/management/commands/syncdb.py django/db/models/loading.py docs/internals/deprecation.txt docs/ref/django-admin.txt docs/releases/1.7.txt
2013-08-06Added section labels in cache docsLeandro Regueiro
2013-07-30Rename allow_syncdb to allow_migrateAndrew Godwin
2013-05-30Tweak caching decorators/utility functions xrefs.Ramiro Morales
2013-05-18Fixed #15201: Marked CACHE_MIDDLEWARE_ANONYMOUS_ONLY as deprecatedŁukasz Langa
2013-05-18Fixed #9595 -- Allow non-expiring cache timeouts.Jacob Burch
Also, streamline the use of 0 and None between cache backends.
2013-02-24Fixed #19253 -- Extracted template cache key building logicTomek Paczkowski
Introduced a public function django.core.cache.utils.make_template_fragment_key Thanks @chrismedrela for fruitful cooperation.
2013-02-14Fixed #19823 -- Fixed memcached code example in cache docsClaude Paroz
2013-01-02Fixed #19516 - Fixed remaining broken links.Tim Graham
Added -n to sphinx builds to catch issues going forward.
2012-12-29Removed versionadded/changed annotations dating back to 1.4.Aymeric Augustin
2012-11-11Merge pull request #218 from mgrouchy/ticket_18582Aymeric Augustin
Fixed #18582 -- Added a no-op close to BaseCache
2012-09-25Fix little typo in cache documentationYohan Boniface
2012-09-21Merge pull request #386 from clelland/ticket_15269Tim Graham
Fixed #15269 - Added documentation for get_caches function
2012-09-20Fixed #18934 - Removed versionadded/changed annotations for Django 1.3Tim Graham
2012-09-20Add documentation for get_caches functionIan Clelland
2012-08-29Replaced many smart_bytes by force_bytesClaude Paroz
In all those occurrences, we didn't care about preserving the lazy status of the strings, but we really wanted to obtain a real bytestring.
2012-08-07[py3] Ported django.utils.encoding.Aymeric Augustin
* Renamed smart_unicode to smart_text (but kept the old name under Python 2 for backwards compatibility). * Renamed smart_str to smart_bytes. * Re-introduced smart_str as an alias for smart_text under Python 3 and smart_bytes under Python 2 (which is backwards compatible). Thus smart_str always returns a str objects. * Used the new smart_str in a few places where both Python 2 and 3 want a str.
2012-07-18BaseCache now has a no-op close method as per ticket #18582Mike Grouchy
Also removed the hasattr check when firing request_finished signal for caches with a 'close' method. Should be safe to call `cache.close` everywhere now
2012-06-14Fixed #18110 -- Improve template cache tag documentationJulian Bez
2012-06-07Removed references to changes made in 1.2.Aymeric Augustin
Thanks Florian Apolloner for the patch.
2011-11-18Added support for time zones. Thanks Luke Plant for the review. Fixed #2626.Aymeric Augustin
For more information on this project, see this thread: http://groups.google.com/group/django-developers/browse_thread/thread/cf0423bbb85b1bbf git-svn-id: http://code.djangoproject.com/svn/django/trunk@17106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-12Fix #17119: Update cache doc to match current implementation, which does ↵Karen Tracey
(since r15705) cache pages with GET parameters. Thanks Vanni, poirier, and calvinspealman. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-01Made the cache locale-dependant when USE_L10N is True, even if USE_I18N is ↵Aymeric Augustin
False. Refs #5691. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-22Fixed #17087 -- Re-organized the i18n docs to reduce confusion between ↵Aymeric Augustin
USE_I18N/USE_L10N and the concepts of internationalization/localisation. Re moved some duplicate content. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17026 bcc190cf-cafb-0310-a4f2-bffc1f526a37