From b7da07815ec773f2669b71599b8a42229a497a66 Mon Sep 17 00:00:00 2001
From: Graham Leggett The The The
@@ -432,11 +432,13 @@
Description: Disable caching of specified URLs
-Syntax: CacheDisable url-string | on
+Context: server config, virtual host Context: server config, virtual host, directory, .htaccess Status: Extension Module: mod_cache Example
<Location /foo>
+
CacheDisable on
+
</Location>
no-cache
environment variable can be set to
+ no-cache
environment variable can be set to
disable caching on a finer grained set of resources in versions
2.2.12 and later.
-Description: Enable caching of specified URLs using a specified storage
manager
-Syntax: CacheEnable cache_type url-string
+Context: server config, virtual host
+Syntax: CacheEnable cache_type [url-string]
Context: server config, virtual host, directory, .htaccess Status: Extension Module: mod_cache CacheEnable
directive instructs
mod_cache
to cache urls at or below
url-string. The cache storage manager is specified with the
- cache_type argument. If the CacheEnable
- directive is placed inside a <Location>
- directive, the url-string becomes optional.
+ cache_type argument. The CacheEnable
+ directive can alternatively be placed inside either
+ <Location>
or
+ <LocationMatch>
sections to indicate
+ the content is cacheable.
cache_type disk
instructs
mod_cache
to use the disk based storage manager
implemented by mod_cache_disk
.CacheEnable
- directives in the configuration file.
CacheEnable
+ directives within <Location>
or
+ <LocationMatch>
sections are processed
+ before globally defined CacheEnable
directives.
When acting as a forward proxy server, url-string can also be used to specify remote sites and proxy protocols which caching should be enabled for.
- +
+ # Cache content
+ <Location /foo>
+
+ CacheEnable disk
+
+ </Location>
+ # Cache regex
+ <LocationMatch foo$>
+
+ CacheEnable disk
+
+ </LocationMatch>
# Cache proxied url's
CacheEnable disk /
# Cache FTP-proxied url's
diff --git a/docs/manual/mod/quickreference.html.de b/docs/manual/mod/quickreference.html.de
index 1005dcc75b..ac1d9796b9 100644
--- a/docs/manual/mod/quickreference.html.de
+++ b/docs/manual/mod/quickreference.html.de
@@ -261,8 +261,8 @@ respect to case
CacheDirLength length 2 sv E The number of characters in subdirectory names CacheDirLevels levels 2 sv E
-The number of levels of subdirectories in the
cache. CacheDisable url-string | on sv E
-Disable caching of specified URLs CacheEnable cache_type url-string sv E Enable caching of specified URLs using a specified storage
+ CacheDisable url-string | on svdh E
+Disable caching of specified URLs CacheEnable cache_type [url-string] svdh E Enable caching of specified URLs using a specified storage
manager CacheFile file-path [file-path] ... s X Cache a list of file handles at startup time CacheHeader on|off off svdh E
diff --git a/docs/manual/mod/quickreference.html.en b/docs/manual/mod/quickreference.html.en
index 27e7d5422c..ac922f0b2b 100644
--- a/docs/manual/mod/quickreference.html.en
+++ b/docs/manual/mod/quickreference.html.en
@@ -254,8 +254,8 @@ respect to case
Add an X-Cache header to the response. CacheDirLength length 2 sv E The number of characters in subdirectory names CacheDirLevels levels 2 sv E
-The number of levels of subdirectories in the
cache. CacheDisable url-string | on sv E
-Disable caching of specified URLs CacheEnable cache_type url-string sv E Enable caching of specified URLs using a specified storage
+ CacheDisable url-string | on svdh E
+Disable caching of specified URLs CacheEnable cache_type [url-string] svdh E Enable caching of specified URLs using a specified storage
manager CacheFile file-path [file-path] ... s X Cache a list of file handles at startup time CacheHeader on|off off svdh E
diff --git a/docs/manual/mod/quickreference.html.es b/docs/manual/mod/quickreference.html.es
index 764a6c4feb..90809d5aa1 100644
--- a/docs/manual/mod/quickreference.html.es
+++ b/docs/manual/mod/quickreference.html.es
@@ -261,8 +261,8 @@ respect to case
Add an X-Cache header to the response. CacheDirLength length 2 sv E The number of characters in subdirectory names CacheDirLevels levels 2 sv E
-The number of levels of subdirectories in the
cache. CacheDisable url-string | on sv E
-Disable caching of specified URLs CacheEnable cache_type url-string sv E Enable caching of specified URLs using a specified storage
+ CacheDisable url-string | on svdh E
+Disable caching of specified URLs CacheEnable cache_type [url-string] svdh E Enable caching of specified URLs using a specified storage
manager CacheFile file-path [file-path] ... s X Cache a list of file handles at startup time CacheHeader on|off off svdh E
diff --git a/docs/manual/mod/quickreference.html.tr.utf8 b/docs/manual/mod/quickreference.html.tr.utf8
index cb5fc69a8b..8b6868489a 100644
--- a/docs/manual/mod/quickreference.html.tr.utf8
+++ b/docs/manual/mod/quickreference.html.tr.utf8
@@ -252,8 +252,8 @@ duyarsız eÅleÅmelerine baÄlı olarak belirler.
Add an X-Cache header to the response. CacheDirLength length 2 sk E The number of characters in subdirectory names CacheDirLevels levels 2 sk E
-The number of levels of subdirectories in the
cache. CacheDisable url-string | on sk E
-Disable caching of specified URLs CacheEnable cache_type url-string sk E Enable caching of specified URLs using a specified storage
+ CacheDisable url-string | on skdh E
+Disable caching of specified URLs CacheEnable cache_type [url-string] skdh E Enable caching of specified URLs using a specified storage
manager CacheFile file-path [file-path] ... s D Cache a list of file handles at startup time CacheHeader on|off off skdh E
diff --git a/docs/manual/mod/quickreference.html.zh-cn b/docs/manual/mod/quickreference.html.zh-cn
index fc840267fd..d452adc198 100644
--- a/docs/manual/mod/quickreference.html.zh-cn
+++ b/docs/manual/mod/quickreference.html.zh-cn
@@ -248,8 +248,8 @@ respect to case
Add an X-Cache header to the response. CacheDirLength length 2 sv E The number of characters in subdirectory names CacheDirLevels levels 2 sv E
-The number of levels of subdirectories in the
cache. CacheDisable url-string | on sv E
-Disable caching of specified URLs CacheEnable cache_type url-string sv E Enable caching of specified URLs using a specified storage
+ CacheDisable url-string | on svdh E
+Disable caching of specified URLs CacheEnable cache_type [url-string] svdh E Enable caching of specified URLs using a specified storage
manager CacheFile file-path [file-path] ... s X Cache a list of file handles at startup time CacheHeader on|off off svdh E
diff --git a/docs/manual/new_features_2_4.html.fr b/docs/manual/new_features_2_4.html.fr
index 2b82fc4cf2..5a1b678de5 100644
--- a/docs/manual/new_features_2_4.html.fr
+++ b/docs/manual/new_features_2_4.html.fr
@@ -31,6 +31,7 @@ serveur HTTP Apache
de la version 2.2.Add an X-Cache header to the response.
trace1
à trace8
ont été
ajoutés au dessus du niveau de journalisation debug
.
+ mod_allowmethods
mod_buffer
mod_lua
mod_proxy_fcgi
mod_proxy
.mod_proxy_scgi
mod_proxy
.mod_ratelimit
mod_reflector
mod_remoteip
mod_reqtimeout
mod_request
mod_slotmem_shm
mod_lua
mod_proxy
ProxyPass
est maintenant configurée
@@ -94,9 +151,18 @@ serveur HTTP Apache
performances important par rapport à la syntaxe traditionnelle à
deux paramètres lorsqu'elle est présente en grand nombre.mod_proxy_fcgi
mod_proxy_balancer
mod_proxy
mod_cache
mod_cache
peut maintenant insérer
HIT/MISS/REVALIDATE dans un en-tête X-Cache.mod_allowmethods
mod_include
allows to unset a previouslz set environment variable named +
allows to unset a previously set environment variable named
VAR
.
Environment variables can then be used in a variety of diff --git a/docs/manual/sitemap.html.fr b/docs/manual/sitemap.html.fr index 29a650efb6..57c5acd877 100644 --- a/docs/manual/sitemap.html.fr +++ b/docs/manual/sitemap.html.fr @@ -77,8 +77,10 @@ Location et Files Apache