1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-12 14:01:05 +03:00
Commit Graph

82 Commits

Author SHA1 Message Date
Christophe Jaillet
640b58a0d6 Correct according to the comments in online doc
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1590566 13f79535-47bb-0310-9956-ffa450edef68
2014-04-28 06:58:32 +00:00
André Malo
318936f504 fix various invalid module references
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1561569 13f79535-47bb-0310-9956-ffa450edef68
2014-01-26 22:58:27 +00:00
Takashi Sato
2a49842c68 fix XML validation error on r1543907
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1546568 13f79535-47bb-0310-9956-ffa450edef68
2013-11-29 14:23:49 +00:00
Eric Covener
228d28ac8f doc behavior change in r821333, CacheEnable foo / does not apply to forward
proxy.  


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1543907 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 19:04:19 +00:00
Eric Covener
52841f9fa9 fix markup
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1517405 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 01:17:50 +00:00
Eric Covener
f75be9a4c3 drop the repeated phrase about Authorization, since it only applies to the
default value of CacheQuickHandler.  Other pieces of the manual refer
to authorization and caching.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1516867 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 14:39:20 +00:00
Eric Covener
62ce967724 s/authorisation/authorization/ for consistency with the rest of this
doc and manual


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1516864 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 14:37:09 +00:00
Eric Covener
d7d4afa704 not valid in htaccess, http://httpd.apache.org/docs/2.4/mod/mod_cache.html#comment_1510
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1505986 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 11:45:09 +00:00
Graham Leggett
a56d88d4b1 Clarify more clearly in the examples which configurations are limited
to CacheQuickHandler off and which support both.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1439106 13f79535-47bb-0310-9956-ffa450edef68
2013-01-27 16:02:22 +00:00
Rainer Jung
96a8fb8351 Drop pre-2.3 compatibility notes from trunk docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1421821 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 12:35:47 +00:00
Jeff Trawick
85ec79e3ce The following now respects DefaultRuntimeDir/DEFAULT_REL_RUNTIMEDIR:
- mod_cache: thundering herd lock directory


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1407381 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 08:44:08 +00:00
Daniel Gruno
5eb104ff6d typo fixes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1371058 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 07:32:04 +00:00
Daniel Gruno
c8f77a58d9 syntax for mod_b*.xml and mod_c*.xml
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330964 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 16:55:17 +00:00
Graham Leggett
53302ff0ec Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1305167 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 22:35:18 +00:00
Rich Bowen
5ab83cc7b4 More patches from Daniel Gruno (rumble at cord dot dk) for references to
directives that have moved around since 2.2


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1300892 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 10:38:55 +00:00
Rich Bowen
848955a068 Fix directive name in doc as per https://issues.apache.org/bugzilla/show_bug.cgi?id=52798
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1295291 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 21:31:22 +00:00
Eric Covener
1d98b89bfb add compat info to CacheQuickHandler
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1230286 13f79535-47bb-0310-9956-ffa450edef68
2012-01-11 22:24:10 +00:00
Jim Jagielski
69c1a5c854 Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174747 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 13:36:39 +00:00
Graham Leggett
e8f8ab7863 mod_cache: Make CacheEnable and CacheDisable configurable per
directory in addition to per server, making them work from within
a LocationMatch.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1080834 13f79535-47bb-0310-9956-ffa450edef68
2011-03-12 01:15:28 +00:00
Graham Leggett
43fc2d47c7 mod_cache: When a request other than GET or HEAD arrives, we must
invalidate existing cache entities as per RFC2616 13.10. PR 15868.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1070179 13f79535-47bb-0310-9956-ffa450edef68
2011-02-13 02:03:29 +00:00
Jeff Trawick
2ce0fcf630 follow up r1042758 and r1043011 with more fixes to use
proper example domains

(and show some respect in our mangled version of prep.ai.mit.edu
by using .edu instead of .com)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1043126 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 16:53:01 +00:00
Graham Leggett
2f74bae2d5 Rename mod_disk_cache to mod_cache_disk within the documentation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1037244 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 15:48:51 +00:00
Graham Leggett
7b8e03425f Add documentation for mod_cache and mod_disk_cache.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1029587 13f79535-47bb-0310-9956-ffa450edef68
2010-11-01 09:50:42 +00:00
Graham Leggett
0f267cd6ad mod_cache: Optionally serve stale data when a revalidation returns a
5xx response, controlled by the CacheStaleOnError directive.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1021546 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 23:32:56 +00:00
Graham Leggett
d29eacb478 mod_cache: Allow control over the base URL of reverse proxied requests
using the CacheKeyBaseURL directive, so that the cache key can be
calculated from the endpoint URL instead of the server URL.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1003963 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 13:23:39 +00:00
Graham Leggett
5ec95ec848 mod_cache: CacheLastModifiedFactor, CacheStoreNoStore, CacheStorePrivate,
CacheStoreExpired, CacheIgnoreNoLastMod, CacheDefaultExpire, 
CacheMinExpire and CacheMaxExpire can be set per directory/location.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1003882 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 20:57:38 +00:00
Rich Bowen
0f20df47a0 Minor nitpick - We've attempted to standardize on American spelling.
Don't much care one way or another, but being consistent is good.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1003163 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 17:01:06 +00:00
Graham Leggett
61b7c8574b mod_cache: Add the cache_status hook to register the final cache
decision hit/miss/revalidate. Add optional support for an X-Cache
and/or an X-Cache-Detail header to add the cache status to the
response. PR48241


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1001639 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 09:20:40 +00:00
William A. Rowe Jr
76e80493cc One more linguistic nit
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1000128 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 18:29:08 +00:00
Rich Bowen
ae3c5967e4 Remove duplicated word.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1000126 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 18:25:57 +00:00
William A. Rowe Jr
9baaf4e800 Revert breakage in 2.2.4 introduced in r450055, by offering a CacheStoreExpired
directive to allow the user to override this questionable change.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1000106 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 17:54:39 +00:00
Jeff Trawick
a6159028f9 hyphenate some compound modifiers
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@924915 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 17:39:48 +00:00
Jeff Trawick
ccfb4f54fc note that CacheLock is available in 2.2.15 or later
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@923735 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 13:32:19 +00:00
Graham Leggett
ae50b75b92 mod_cache: Teach CacheEnable and CacheDisable to work from within a
Location section, in line with how ProxyPass works.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@821993 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 20:27:19 +00:00
Graham Leggett
050515d99f mod_cache: Fix uri_meets_conditions() so that CacheEnable will
match by scheme, or by a wildcarded hostname.
PR: 40169
Submitted by: Peter Grandi <pg_asf asf.for.sabi.co.uk>
Reviewed by: Graham Leggett


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@821333 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 14:54:00 +00:00
Graham Leggett
3ae6189d47 mod_cache: Introduce the option to run the cache from within the
normal request handler, and to allow fine grained control over
where in the filter chain content is cached.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@821202 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 23:47:37 +00:00
Eric Covener
7b9c01f52f Now that we have actual released versions after 2.2.11, drop the
awkward/confusing exclusive phrasing of "after 2.2.11".



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@810187 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 19:26:06 +00:00
Lucien Gentis
5252dbdd88 Typo and updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@809335 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 13:37:25 +00:00
Graham Leggett
2c379cc6fb mod_cache: Introduce the thundering herd lock, a mechanism to keep
the flood of requests at bay that strike a backend webserver as
a cached entity goes stale.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@808212 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 22:46:35 +00:00
Tony Stevenson
19608c7e3f Broken directive
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@785561 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 11:40:52 +00:00
Eric Covener
3624723612 no-cache envvar: copy the compatability note from 2.2.x for env.xml,
add compat note inline for refereneces in CacheEnable/CacheDisable.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@782860 13f79535-47bb-0310-9956-ffa450edef68
2009-06-09 01:27:43 +00:00
Ruediger Pluem
429c647612 * Improve documentation for CacheIgnoreURLSessionIdentifiers
Submitted by: Dan Poirier <poirier pobox.com>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@777091 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 12:21:10 +00:00
Ruediger Pluem
d2700640cd * Add CacheIgnoreURLSessionIdentifiers directive to ignore
defined session identifiers encoded in the URL when caching.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@777042 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 10:42:54 +00:00
Eric Covener
fd6b72322d document no-cache envvar
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@729317 13f79535-47bb-0310-9956-ffa450edef68
2008-12-24 15:07:11 +00:00
Takashi Sato
c9beb12c8d Remove mod_mem_cache from documents
(Sync with r711470)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711521 13f79535-47bb-0310-9956-ffa450edef68
2008-11-05 06:49:29 +00:00
Ruediger Pluem
8a7fb4574c * Add CacheIgnoreQueryString directive to cache requests with a query string
even if no expiration time is specified. Futhermore the query string will not
  be used for key generation such that requests to the same URI path, but with
  different query strings are mapped to the same cache entity. Turning this
  setting to ON violates RFC 2616/13.9 and thus it is turned off by default.

PR: 41484
Submitted by: Fredrik Widlund <fredrik.widlund qbrick.com>
Reviewed by: rpluem


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@504183 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 15:55:50 +00:00
Graham Leggett
78e8ee0cf7 Revert the splitting of buckets before they are handed to the cache providers,
a better way has been found to do this.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@468044 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 15:43:25 +00:00
Graham Leggett
48a692a9cd mod_cache: Fix an out of memory condition that occurs when the
cache tries to save huge files (greater than RAM). Buckets bigger
than a tuneable threshold are split into smaller buckets before
being passed to mod_disk_cache, etc. PR 39380


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@467655 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 13:44:47 +00:00
Roy T. Fielding
44fa6e0073 update license header text
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420990 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 20:55:32 +00:00
Rich Bowen
ab2d671437 Submitted by Vincent 'noodl' Bray, this adds a link from the module doc
to the caching discussion, for clarification of obscure points.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@413486 13f79535-47bb-0310-9956-ffa450edef68
2006-06-11 17:49:34 +00:00