diff options
author | Graham Leggett <minfrin@apache.org> | 2010-10-16 21:30:08 +0200 |
---|---|---|
committer | Graham Leggett <minfrin@apache.org> | 2010-10-16 21:30:08 +0200 |
commit | 796d4cd0743f5865d88c23be4e7237d9795c64e9 (patch) | |
tree | 6fa28a83f417d2015f16c1ed92a261a8ad119fe5 /modules/cache/mod_cache.h | |
parent | update transformations (diff) | |
download | apache2-796d4cd0743f5865d88c23be4e7237d9795c64e9.tar.xz apache2-796d4cd0743f5865d88c23be4e7237d9795c64e9.zip |
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.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1023360 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cache/mod_cache.h')
-rw-r--r-- | modules/cache/mod_cache.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/modules/cache/mod_cache.h b/modules/cache/mod_cache.h index 3944dfd7e1..3a06080192 100644 --- a/modules/cache/mod_cache.h +++ b/modules/cache/mod_cache.h @@ -124,15 +124,6 @@ typedef enum { CACHE_DECLARE(apr_time_t) ap_cache_current_age(cache_info *info, const apr_time_t age_value, apr_time_t now); -/** - * Check the whether the request allows a cached object to be served as per RFC2616 - * section 14.9.4 (Cache Revalidation and Reload Controls) - * @param h cache_handle_t - * @param r request_rec - * @return 0 ==> cache object may not be served, 1 ==> cache object may be served - */ -CACHE_DECLARE(int) ap_cache_check_allowed(request_rec *r); - CACHE_DECLARE(apr_time_t) ap_cache_hex2usec(const char *x); CACHE_DECLARE(void) ap_cache_usec2hex(apr_time_t j, char *y); CACHE_DECLARE(char *) ap_cache_generate_name(apr_pool_t *p, int dirlevels, |