mirror of
https://github.com/apache/httpd.git
synced 2025-07-30 20:03:10 +03:00
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
This commit is contained in:
6
modules/cache/cache_util.h
vendored
6
modules/cache/cache_util.h
vendored
@ -164,6 +164,10 @@ typedef struct {
|
||||
apr_time_t defex;
|
||||
/* factor for estimating expires date */
|
||||
double factor;
|
||||
/* cache enabled for this location */
|
||||
apr_array_header_t *cacheenable;
|
||||
/* cache disabled for this location */
|
||||
int disable:1;
|
||||
/* set X-Cache headers */
|
||||
int x_cache:1;
|
||||
int x_cache_detail:1;
|
||||
@ -188,6 +192,8 @@ typedef struct {
|
||||
int store_expired_set:1;
|
||||
int store_private_set:1;
|
||||
int store_nostore_set:1;
|
||||
int enable_set:1;
|
||||
int disable_set:1;
|
||||
} cache_dir_conf;
|
||||
|
||||
/* A linked-list of authn providers. */
|
||||
|
Reference in New Issue
Block a user