1
0
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:
Graham Leggett
2011-03-12 01:15:28 +00:00
parent 4598f1a7d4
commit e8f8ab7863
5 changed files with 124 additions and 44 deletions

View File

@ -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. */