 Django 3.1.x Documentationmust-revalidate, private header to a response to indicate that a page should never be cached. private directive was added. 3.3. Handling HTTP requests 211 Django Documentation, Release 3.1.15.dev 3.3.4 File 60 seconds per minute.) The cache timeout set by cache_page takes precedence over the max-age directive from the Cache-Control header. The per-view cache, like the per-site cache, is keyed off of the Expires headers in the response which affect downstream caches. In older versions, the max-age directive from the Cache-Control header had precedence over the cache timeout set by cache_page. Specifying0 码力 | 2053 页 | 6.92 MB | 1 年前3 Django 3.1.x Documentationmust-revalidate, private header to a response to indicate that a page should never be cached. private directive was added. 3.3. Handling HTTP requests 211 Django Documentation, Release 3.1.15.dev 3.3.4 File 60 seconds per minute.) The cache timeout set by cache_page takes precedence over the max-age directive from the Cache-Control header. The per-view cache, like the per-site cache, is keyed off of the Expires headers in the response which affect downstream caches. In older versions, the max-age directive from the Cache-Control header had precedence over the cache timeout set by cache_page. Specifying0 码力 | 2053 页 | 6.92 MB | 1 年前3
 Django 3.1.x Documentationmust-revalidate, private header to a response to indicate that a page should never be cached. private directive was added. File Uploads When Django handles a file upload, the file data ends up placed in request 60 seconds per minute.) The cache timeout set by cache_page takes precedence over the max-age directive from the Cache-Control header. The per-view cache, like the per-site cache, is keyed off of the Expires headers in the response which affect downstream caches. In older versions, the max-age directive from the Cache-Control header had precedence over the cache timeout set by cache_page. Specifying0 码力 | 3094 页 | 3.03 MB | 1 年前3 Django 3.1.x Documentationmust-revalidate, private header to a response to indicate that a page should never be cached. private directive was added. File Uploads When Django handles a file upload, the file data ends up placed in request 60 seconds per minute.) The cache timeout set by cache_page takes precedence over the max-age directive from the Cache-Control header. The per-view cache, like the per-site cache, is keyed off of the Expires headers in the response which affect downstream caches. In older versions, the max-age directive from the Cache-Control header had precedence over the cache timeout set by cache_page. Specifying0 码力 | 3094 页 | 3.03 MB | 1 年前3
 Django 3.2.x Documentation60 seconds per minute.) The cache timeout set by cache_page takes precedence over the max-age directive from the Cache-Control header. The per-view cache, like the per-site cache, is keyed off of the Expires headers in the response which affect downstream caches. In older versions, the max-age directive from the Cache-Control header had precedence over the cache timeout set by cache_page. Specifying settings “private” and “public” are mutually exclusive. The decorator ensures that the “public” directive is removed if “private” should be set (and vice versa). An example use of the two directives would0 码力 | 2199 页 | 7.89 MB | 1 年前3 Django 3.2.x Documentation60 seconds per minute.) The cache timeout set by cache_page takes precedence over the max-age directive from the Cache-Control header. The per-view cache, like the per-site cache, is keyed off of the Expires headers in the response which affect downstream caches. In older versions, the max-age directive from the Cache-Control header had precedence over the cache timeout set by cache_page. Specifying settings “private” and “public” are mutually exclusive. The decorator ensures that the “public” directive is removed if “private” should be set (and vice versa). An example use of the two directives would0 码力 | 2199 页 | 7.89 MB | 1 年前3
 Django 3.2.x Documentation60 seconds per minute.) The cache timeout set by cache_page takes precedence over the max-age directive from the Cache-Control header. The per-view cache, like the per-site cache, is keyed off of the Expires headers in the response which affect downstream caches. In older versions, the max-age directive from the Cache-Control header had precedence over the cache timeout set by cache_page. Specifying settings “private” and “public” are mutually exclusive. The decorator ensures that the “public” directive is removed if “private” should be set (and vice versa). An example use of the two directives would0 码力 | 3121 页 | 3.08 MB | 1 年前3 Django 3.2.x Documentation60 seconds per minute.) The cache timeout set by cache_page takes precedence over the max-age directive from the Cache-Control header. The per-view cache, like the per-site cache, is keyed off of the Expires headers in the response which affect downstream caches. In older versions, the max-age directive from the Cache-Control header had precedence over the cache timeout set by cache_page. Specifying settings “private” and “public” are mutually exclusive. The decorator ensures that the “public” directive is removed if “private” should be set (and vice versa). An example use of the two directives would0 码力 | 3121 页 | 3.08 MB | 1 年前3
 Django 4.0.x Documentation60 seconds per minute.) The cache timeout set by cache_page takes precedence over the max-age directive from the Cache-Control header. The per-view cache, like the per-site cache, is keyed off of the settings “private” and “public” are mutually exclusive. The decorator ensures that the “public” directive is removed if “private” should be set (and vice versa). An example use of the two directives would framework, you can still tell clients to cache a view for a certain amount of time with the max-age directive: from django.views.decorators.cache import cache_control @cache_control(max_age=3600) def my_view(request):0 码力 | 2248 页 | 7.90 MB | 1 年前3 Django 4.0.x Documentation60 seconds per minute.) The cache timeout set by cache_page takes precedence over the max-age directive from the Cache-Control header. The per-view cache, like the per-site cache, is keyed off of the settings “private” and “public” are mutually exclusive. The decorator ensures that the “public” directive is removed if “private” should be set (and vice versa). An example use of the two directives would framework, you can still tell clients to cache a view for a certain amount of time with the max-age directive: from django.views.decorators.cache import cache_control @cache_control(max_age=3600) def my_view(request):0 码力 | 2248 页 | 7.90 MB | 1 年前3
 Django 4.2.x Documentation60 seconds per minute.) The cache timeout set by cache_page takes precedence over the max-age directive from the Cache-Control header. The per-view cache, like the per-site cache, is keyed off of the settings “private” and “public” are mutually exclusive. The decorator ensures that the “public” directive is removed if “private” should be set (and vice versa). An example use of the two directives would framework, you can still tell clients to cache a view for a certain amount of time with the max-age directive: from django.views.decorators.cache import cache_control @cache_control(max_age=3600) def my_view(request):0 码力 | 3305 页 | 3.16 MB | 1 年前3 Django 4.2.x Documentation60 seconds per minute.) The cache timeout set by cache_page takes precedence over the max-age directive from the Cache-Control header. The per-view cache, like the per-site cache, is keyed off of the settings “private” and “public” are mutually exclusive. The decorator ensures that the “public” directive is removed if “private” should be set (and vice versa). An example use of the two directives would framework, you can still tell clients to cache a view for a certain amount of time with the max-age directive: from django.views.decorators.cache import cache_control @cache_control(max_age=3600) def my_view(request):0 码力 | 3305 页 | 3.16 MB | 1 年前3
 Django 4.1.x Documentation60 seconds per minute.) The cache timeout set by cache_page takes precedence over the max-age directive from the Cache-Control header. The per-view cache, like the per-site cache, is keyed off of the settings “private” and “public” are mutually exclusive. The decorator ensures that the “public” directive is removed if “private” should be set (and vice versa). An example use of the two directives would framework, you can still tell clients to cache a view for a certain amount of time with the max-age directive: from django.views.decorators.cache import cache_control @cache_control(max_age=3600) def my_view(request):0 码力 | 3240 页 | 3.13 MB | 1 年前3 Django 4.1.x Documentation60 seconds per minute.) The cache timeout set by cache_page takes precedence over the max-age directive from the Cache-Control header. The per-view cache, like the per-site cache, is keyed off of the settings “private” and “public” are mutually exclusive. The decorator ensures that the “public” directive is removed if “private” should be set (and vice versa). An example use of the two directives would framework, you can still tell clients to cache a view for a certain amount of time with the max-age directive: from django.views.decorators.cache import cache_control @cache_control(max_age=3600) def my_view(request):0 码力 | 3240 页 | 3.13 MB | 1 年前3
 Django 4.0.x Documentation60 seconds per minute.) The cache timeout set by cache_page takes precedence over the max-age directive from the Cache-Control header. The per-view cache, like the per-site cache, is keyed off of the settings “private” and “public” are mutually exclusive. The decorator ensures that the “public” directive is removed if “private” should be set (and vice versa). An example use of the two directives would framework, you can still tell clients to cache a view for a certain amount of time with the max-age directive: from django.views.decorators.cache import cache_control @cache_control(max_age=3600) def my_view(request):0 码力 | 3184 页 | 3.14 MB | 1 年前3 Django 4.0.x Documentation60 seconds per minute.) The cache timeout set by cache_page takes precedence over the max-age directive from the Cache-Control header. The per-view cache, like the per-site cache, is keyed off of the settings “private” and “public” are mutually exclusive. The decorator ensures that the “public” directive is removed if “private” should be set (and vice versa). An example use of the two directives would framework, you can still tell clients to cache a view for a certain amount of time with the max-age directive: from django.views.decorators.cache import cache_control @cache_control(max_age=3600) def my_view(request):0 码力 | 3184 页 | 3.14 MB | 1 年前3
 Django 5.1 Documentation60 seconds per minute.) The cache timeout set by cache_page takes precedence over the max-age directive from the Cache-Control header. The per-view cache, like the per-site cache, is keyed off of the settings “private” and “public” are mutually exclusive. The decorator ensures that the “public” directive is removed if “private” should be set (and vice versa). An example use of the two directives would amount of time with the max-age [https://datatracker.ietf.org/doc/html/rfc9111.html#section-5.2.2.1] directive: from django.views.decorators.cache import cache_control @cache_control(max_age=3600) def my_view(request):0 码力 | 3513 页 | 3.17 MB | 1 年前3 Django 5.1 Documentation60 seconds per minute.) The cache timeout set by cache_page takes precedence over the max-age directive from the Cache-Control header. The per-view cache, like the per-site cache, is keyed off of the settings “private” and “public” are mutually exclusive. The decorator ensures that the “public” directive is removed if “private” should be set (and vice versa). An example use of the two directives would amount of time with the max-age [https://datatracker.ietf.org/doc/html/rfc9111.html#section-5.2.2.1] directive: from django.views.decorators.cache import cache_control @cache_control(max_age=3600) def my_view(request):0 码力 | 3513 页 | 3.17 MB | 1 年前3
 Django 5.1.2 Documentation60 seconds per minute.) The cache timeout set by cache_page takes precedence over the max-age directive from the Cache-Control header. The per-view cache, like the per-site cache, is keyed off of the settings “private” and “public” are mutually exclusive. The decorator ensures that the “public” directive is removed if “private” should be set (and vice versa). An example use of the two directives would amount of time with the max-age [https://datatracker.ietf.org/doc/html/rfc9111.html#section-5.2.2.1] directive: from django.views.decorators.cache import cache_control @cache_control(max_age=3600) def my_view(request):0 码力 | 3519 页 | 3.17 MB | 1 年前3 Django 5.1.2 Documentation60 seconds per minute.) The cache timeout set by cache_page takes precedence over the max-age directive from the Cache-Control header. The per-view cache, like the per-site cache, is keyed off of the settings “private” and “public” are mutually exclusive. The decorator ensures that the “public” directive is removed if “private” should be set (and vice versa). An example use of the two directives would amount of time with the max-age [https://datatracker.ietf.org/doc/html/rfc9111.html#section-5.2.2.1] directive: from django.views.decorators.cache import cache_control @cache_control(max_age=3600) def my_view(request):0 码力 | 3519 页 | 3.17 MB | 1 年前3
共 48 条
- 1
- 2
- 3
- 4
- 5














