comparison src/http/ngx_http_cache.h @ 3597:0d8b8c84bab7 stable-0.7

merge r3518, r3527: cache related fixes: *) do not cache response if it has "no-store" or "private" in "Cache-Control" header *) proxy_no_cache and fastcgi_no_cache
author Igor Sysoev <igor@sysoev.ru>
date Mon, 07 Jun 2010 12:23:23 +0000
parents 1f3cd08ebb82
children
comparison
equal deleted inserted replaced
3596:555de5bdb800 3597:0d8b8c84bab7
131 char *ngx_http_file_cache_set_slot(ngx_conf_t *cf, ngx_command_t *cmd, 131 char *ngx_http_file_cache_set_slot(ngx_conf_t *cf, ngx_command_t *cmd,
132 void *conf); 132 void *conf);
133 char *ngx_http_file_cache_valid_set_slot(ngx_conf_t *cf, ngx_command_t *cmd, 133 char *ngx_http_file_cache_valid_set_slot(ngx_conf_t *cf, ngx_command_t *cmd,
134 void *conf); 134 void *conf);
135 135
136 ngx_int_t ngx_http_cache(ngx_http_request_t *r, ngx_array_t *no_cache);
137 char *ngx_http_no_cache_set_slot(ngx_conf_t *cf, ngx_command_t *cmd,
138 void *conf);
139
140
136 extern ngx_str_t ngx_http_cache_status[]; 141 extern ngx_str_t ngx_http_cache_status[];
137 142
138 143
139 #endif /* _NGX_HTTP_CACHE_H_INCLUDED_ */ 144 #endif /* _NGX_HTTP_CACHE_H_INCLUDED_ */