History log of /httpd/modules/cache/cache_util.h
Revision Date Author Comments Expand
04b14c36907da8903a5f70897039908892812c72 1594643 14-May-2014 ylavic

mod_cache: follow up to r1591328. Define the cache_merge_headers_out() function to merge r->err_headers_out into r->headers_out and add the ones from r->content_type/encoding if available. Use it in ap_cache_cacheable_headers_out() where the same is done and in cache_save_filter() where this has to be done before updating the entry.

2b82678319a66fd9caad8827ca9b38d2412a5abd 1479222 05-May-2013 minfrin

mod_cache: Honour Cache-Control: no-store in a request.

f27c90ecdefe634bd5f9c529d8658d3a3b441303 1478748 03-May-2013 minfrin

mod_cache: Make sure Vary processing handles multivalued Vary headers and multivalued headers referred to via Vary.

a2e1bbb77dd09c6a60f2dc18f831000e49add31e 1478382 02-May-2013 minfrin

mod_cache: Ignore response headers specified by no-cache=header and private=header as specified by RFC2616 14.9.1 What is Cacheable. Ensure that these headers are still processed when multiple Cache-Control headers are present in the response. PR 54706

c967bf3bc89e8aa60dbd30d9da388e448ddc1cc4 1407381 09-Nov-2012 trawick

The following now respects DefaultRuntimeDir/DEFAULT_REL_RUNTIMEDIR: - mod_cache: thundering herd lock directory

5447b616f660d11019afc5230ef34ca34d2d8fc7 1086662 29-Mar-2011 trawick

change signed single-bit fields to unsigned some of these were exposed to mods so the mmn is bumped, without regard to whether any compiler will have to generate different code

7d84798eed7ad93b66b88841974525641749a9b1 1086071 28-Mar-2011 trawick

fix doxygen warnings

ffae06377667a5d8f9699ac7512134de7000a83d 1080834 12-Mar-2011 minfrin

mod_cache: Make CacheEnable and CacheDisable configurable per directory in addition to per server, making them work from within a LocationMatch.

3bd0e50248c06f4a61404a93f9e1acc7f26c8464 1043710 08-Dec-2010 sf

Fix some doxygen warnings

18a6277a62d0cb7b9e451bf2f20b53950bd224ef 1023526 17-Oct-2010 minfrin

Optimise the configuration structures for mod_cache.

5ba0130f82ac3ab05925b94b04149cf97e78cbbc 1023397 17-Oct-2010 minfrin

As cache_control_t is public, make ap_cache_control() public with it. Bump the MMN for addition of ap_cache_control(), and the addition of cache_control_t to the disk format.

8fa6d2c9f0421ed96f64c660f6fa3546f37bd014 1023387 17-Oct-2010 minfrin

Complete the optimisation of Cache-Control header parsing. Make the cache_control_t structure public so as to be available to mod_disk_cache.

47a779c5a45b90812ad3ec1bff98134fd3f8e66a 1023360 16-Oct-2010 minfrin

Begin the process of optimising the parsing of Cache-Control headers. Parse the incoming Cache-Control and Pragma headers once, instead of on each test.

f4a0825e91eec135b5e41c697439e9a13014fa2c 1021546 12-Oct-2010 minfrin

mod_cache: Optionally serve stale data when a revalidation returns a 5xx response, controlled by the CacheStaleOnError directive.

15227600187741f54b4f3ab0eedf8360c62282f8 1004220 04-Oct-2010 minfrin

Remove the attempt to pass the cache key into the lock functions, use cache->key instead for this. Fixes a segfault caused when cache->key was populated, but the passed in key was not.

4aef34911af88f96c5b6d9b71a550a5a97bbc0b6 1003963 03-Oct-2010 minfrin

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.

4cefc38158672f5de8119886d9754cf0609a9371 1003882 02-Oct-2010 minfrin

mod_cache: CacheLastModifiedFactor, CacheStoreNoStore, CacheStorePrivate, CacheStoreExpired, CacheIgnoreNoLastMod, CacheDefaultExpire, CacheMinExpire and CacheMaxExpire can be set per directory/location.

033d82412cc4af9d939b7e1645425b9e7f4ebf60 1001639 27-Sep-2010 minfrin

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

6d14bedccc13d7a5f95fb9328eb6d1a07b58731b 1000249 22-Sep-2010 minfrin

Move mod_cache-private includes and defines from the public mod_cache.h interface into the private cache_util.h interface.

528d669867298f6743187e798121893290135fd8 1000247 22-Sep-2010 minfrin

Make cache_provider_list and cache_request_rec private by moving them out of mod_cache.h.

561ff82c9a4873234adbd99ddd5bbfdd2466ac53 1000211 22-Sep-2010 minfrin

Make cache_server_conf, cache_enable and cache_disable private. Remove public prefixes from ap_cache_accept_headers, ap_cache_try_lock and ap_cache_get_providers.

1c534f8445b34b86eeadc06d6dd0105d33c85add 1000187 22-Sep-2010 minfrin

Make ap_cache_accept_headers, ap_cache_accept_headers, ap_cache_try_lock and ap_cache_check_freshness private.