1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-26 19:01:35 +03:00
Commit Graph

12 Commits

Author SHA1 Message Date
Roy T. Fielding
845cbfd508 Update our copyright for this year.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93918 13f79535-47bb-0310-9956-ffa450edef68
2002-03-13 20:48:07 +00:00
Bill Stoddard
575e49d588 Fix some formatting. No function change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93568 13f79535-47bb-0310-9956-ffa450edef68
2002-02-25 19:10:05 +00:00
Bill Stoddard
a771a33db8 Bringing up some code to our coding style guidelines
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93221 13f79535-47bb-0310-9956-ffa450edef68
2002-02-04 14:48:55 +00:00
Ian Holsman
b83f884f1e make it compile on win32
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93214 13f79535-47bb-0310-9956-ffa450edef68
2002-02-04 04:43:34 +00:00
Bill Stoddard
db91e13b5f mod_disk_cache cleanup. Pass request_rec on the open_entity call.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93207 13f79535-47bb-0310-9956-ffa450edef68
2002-02-03 19:04:15 +00:00
Bill Stoddard
2e47d4b924 Some coding style tweaks. No function change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93197 13f79535-47bb-0310-9956-ffa450edef68
2002-02-03 06:28:52 +00:00
Bill Stoddard
1d5a371a5c Support files for mod_disk_cache. Some tweaks to arguments on various hook
calls. Still lots of cleanup work to do here...


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93196 13f79535-47bb-0310-9956-ffa450edef68
2002-02-03 06:24:55 +00:00
Ian Holsman
eca473b0c0 I haven't created the optional function to specify the cache_key yet,
That will come after this patch.

ok.. brief summary of whats changed

* new Optional Directives
	* CacheMemEntrySize -- max size of a individual entry in memory
		cache
	* CacheIgnoreNoLastMod - so we can cache mod-included files

* it tries to figure out the size of the request based on buckets if the
	content-length header isn't set

* mem_cache now caches the subprocess_env & notes tables
* the CACHE_IN/OUT/CONDITIONAL run at FTYPE_CONTENT+1, so that
	all other content filters run BEFORE the cache in.

note: the code is still experimental, and we need a bit more work
mainly...
* garbage collection
* cache stats/reporting
* manual removal of a key.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93030 13f79535-47bb-0310-9956-ffa450edef68
2002-01-25 20:09:33 +00:00
Bill Stoddard
5c53bb308f Eliminate compile warning.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90636 13f79535-47bb-0310-9956-ffa450edef68
2001-08-24 16:57:13 +00:00
Bill Stoddard
d738874353 Fix a seg fault.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90631 13f79535-47bb-0310-9956-ffa450edef68
2001-08-24 15:14:43 +00:00
Bill Stoddard
2014771fde Fix using uninitialized variable.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90550 13f79535-47bb-0310-9956-ffa450edef68
2001-08-23 14:56:42 +00:00
Bill Stoddard
c1bce71562 Experimental cache based on Graham Leggett's layered cache design. mod_cache
implements a quick handler, and three filters. The filters are
CACHE_IN for loading the cache, CACHE_OUT for serving content out of the cache
and CACHE_CONDITIONAL, which handles stale entries in the cache.

mod_cache implements code that makes RFC compliant caching decisions. It
interfaces with the actual storage mechanism via calls to functions defined in
cache_storage.c.  This commit includes a simple in memory (malloc'ed memory)
cache implementation that demonstrates autoloading and serving files
keyed on URL.

This is not even close to production ready. You have been warned :-)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90549 13f79535-47bb-0310-9956-ffa450edef68
2001-08-23 14:15:00 +00:00