Django 2.2.x DocumentationLast-Modified headers; see conditional view processing. GZip compression The decorators in django.views.decorators.gzip control content compression on a per-view basis. gzip_page() This decorator compresses compresses content if the browser allows gzip compression. It sets the Vary header accordingly, so that caches will base their storage on the Accept-Encoding header. Vary headers The decorators in django.views with the max_similarity parameter. This is compared to the result of difflib.SequenceMatcher.quick_ratio(). A value of 0.1 rejects passwords unless they are substantially different from the user_attributes0 码力 | 2915 页 | 2.83 MB | 1 年前3
Django 4.2.x DocumentationLast-Modified headers; see conditional view processing. GZip compression The decorators in django.views.decorators.gzip control content compression on a per-view basis. gzip_page() This decorator compresses compresses content if the browser allows gzip compression. It sets the Vary header accordingly, so that caches will base their storage on the Accept-Encoding header. Vary headers The decorators in django.views with the max_similarity parameter. This is compared to the result of difflib.SequenceMatcher.quick_ratio(). A value of 0.1 rejects passwords unless they are substantially different from the user_attributes0 码力 | 3305 页 | 3.16 MB | 1 年前3
Django 4.1.x DocumentationLast-Modified headers; see conditional view processing. GZip compression The decorators in django.views.decorators.gzip control content compression on a per-view basis. gzip_page() This decorator compresses compresses content if the browser allows gzip compression. It sets the Vary header accordingly, so that caches will base their storage on the Accept-Encoding header. Vary headers The decorators in django.views with the max_similarity parameter. This is compared to the result of difflib.SequenceMatcher.quick_ratio(). A value of 0.1 rejects passwords unless they are substantially different from the user_attributes0 码力 | 3240 页 | 3.13 MB | 1 年前3
Django 4.0.x DocumentationLast-Modified headers; see conditional view processing. GZip compression The decorators in django.views.decorators.gzip control content compression on a per-view basis. gzip_page() This decorator compresses compresses content if the browser allows gzip compression. It sets the Vary header accordingly, so that caches will base their storage on the Accept-Encoding header. Vary headers The decorators in django.views with the max_similarity parameter. This is compared to the result of difflib.SequenceMatcher.quick_ratio(). A value of 0.1 rejects passwords unless they are substantially different from the user_attributes0 码力 | 3184 页 | 3.14 MB | 1 年前3
Django 3.2.x DocumentationLast-Modified headers; see conditional view processing. GZip compression The decorators in django.views.decorators.gzip control content compression on a per-view basis. gzip_page() This decorator compresses compresses content if the browser allows gzip compression. It sets the Vary header accordingly, so that caches will base their storage on the Accept-Encoding header. Vary headers The decorators in django.views with the max_similarity parameter. This is compared to the result of difflib.SequenceMatcher.quick_ratio(). A value of 0.1 rejects passwords unless they are substantially different from the user_attributes0 码力 | 3121 页 | 3.08 MB | 1 年前3
Django 3.0.x DocumentationLast-Modified headers; see conditional view processing. GZip compression The decorators in django.views.decorators.gzip control content compression on a per-view basis. gzip_page() This decorator compresses compresses content if the browser allows gzip compression. It sets the Vary header accordingly, so that caches will base their storage on the Accept-Encoding header. Vary headers The decorators in django.views CULL_FREQUENCY: The fraction of entries that are culled when MAX_ENTRIES is reached. The actual ratio is 1 / CULL_FREQUENCY, so set CULL_FREQUENCY to 2 to cull half the entries when MAX_ENTRIES is reached0 码力 | 3085 页 | 2.95 MB | 1 年前3
Django 4.0.x DocumentationDjango Documentation, Release 4.0.11.dev20230214085346 GZip compression The decorators in django.views.decorators.gzip control content compression on a per-view basis. gzip_page() This decorator compresses compresses content if the browser allows gzip compression. It sets the Vary header accordingly, so that caches will base their storage on the Accept-Encoding header. Vary headers The decorators in django.views with the max_similarity parameter. This is compared to the result of difflib.SequenceMatcher.quick_ratio(). A value of 0.1 rejects passwords unless they are substantially different from the user_attributes0 码力 | 2248 页 | 7.90 MB | 1 年前3
Django 3.2.x DocumentationLast-Modified headers; see conditional view processing. GZip compression The decorators in django.views.decorators.gzip control content compression on a per-view basis. gzip_page() This decorator compresses compresses content if the browser allows gzip compression. It sets the Vary header accordingly, so that caches will base their storage on the Accept-Encoding header. 3.3. Handling HTTP requests 219 Django with the max_similarity parameter. This is compared to the result of difflib.SequenceMatcher.quick_ratio(). A value of 0.1 rejects passwords unless they are substantially different from the user_attributes0 码力 | 2199 页 | 7.89 MB | 1 年前3
Django 2.1.x DocumentationLast-Modified headers; see conditional view process- ing. GZip compression The decorators in django.views.decorators.gzip control content compression on a per-view basis. gzip_page() This decorator compresses compresses content if the browser allows gzip compression. It sets the Vary header accordingly, so that caches will base their storage on the Accept-Encoding header. Vary headers The decorators in django.views CULL_FREQUENCY: The fraction of entries that are culled when MAX_ENTRIES is reached. The ac- tual ratio is 1 / CULL_FREQUENCY, so set CULL_FREQUENCY to 2 to cull half the entries when MAX_ENTRIES is reached0 码力 | 1910 页 | 6.49 MB | 1 年前3
Django 2.1.x DocumentationLast-Modified headers; see conditional view processing. GZip compression The decorators in django.views.decorators.gzip control content compression on a per-view basis. gzip_page() This decorator compresses compresses content if the browser allows gzip compression. It sets the Vary header accordingly, so that caches will base their storage on the Accept-Encoding header. Vary headers The decorators in django.views CULL_FREQUENCY: The fraction of entries that are culled when MAX_ENTRIES is reached. The actual ratio is 1 / CULL_FREQUENCY, so set CULL_FREQUENCY to 2 to cull half the entries when MAX_ENTRIES is reached0 码力 | 2790 页 | 2.71 MB | 1 年前3
共 48 条
- 1
- 2
- 3
- 4
- 5













