Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
dd98ccd4
Kaydet (Commit)
dd98ccd4
authored
Ock 17, 2014
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #16785 -- Documented some of the design decisions of the cache framework.
Thanks jamesp for the draft patch.
üst
9173d2cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
design-philosophies.txt
docs/misc/design-philosophies.txt
+26
-0
cache.txt
docs/topics/cache.txt
+4
-0
No files found.
docs/misc/design-philosophies.txt
Dosyayı görüntüle @
dd98ccd4
...
@@ -307,3 +307,29 @@ Differentiate between GET and POST
...
@@ -307,3 +307,29 @@ Differentiate between GET and POST
GET and POST are distinct; developers should explicitly use one or the other.
GET and POST are distinct; developers should explicitly use one or the other.
The framework should make it easy to distinguish between GET and POST data.
The framework should make it easy to distinguish between GET and POST data.
.. _cache-design-philosophy:
Cache Framework
===============
The core goals of Django's :doc:`cache framework </topics/cache>` are:
Less code
---------
A cache should be as fast as possible. Hence, all framework code surrounding
the cache backend should be kept to the absolute minimum, especially for
``get()`` operations.
Consistency
-----------
The cache API should provide a consistent interface across the different
cache backends.
Extensibility
-------------
The cache API should be extensible at the application level based on the
developer's needs (for example, see :ref:`cache_key_transformation`).
docs/topics/cache.txt
Dosyayı görüntüle @
dd98ccd4
...
@@ -39,6 +39,10 @@ Django also works well with "upstream" caches, such as `Squid
...
@@ -39,6 +39,10 @@ Django also works well with "upstream" caches, such as `Squid
caches that you don't directly control but to which you can provide hints (via
caches that you don't directly control but to which you can provide hints (via
HTTP headers) about which parts of your site should be cached, and how.
HTTP headers) about which parts of your site should be cached, and how.
.. seealso::
The :ref:`Cache Framework design philosophy <cache-design-philosophy>`
explains a few of the design decisions of the framework.
.. _setting-up-the-cache:
.. _setting-up-the-cache:
Setting up the cache
Setting up the cache
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment