Mercurial > hg > nginx
comparison src/http/modules/ngx_http_fastcgi_module.c @ 5738:c95d7882dfc9
Upstream: cache revalidation using If-None-Match.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 26 Jun 2014 02:35:01 +0400 |
parents | 22d485944c20 |
children | 906530c9ffd2 |
comparison
equal
deleted
inserted
replaced
5737:44b9ab7752e3 | 5738:c95d7882dfc9 |
---|---|
571 | 571 |
572 static ngx_keyval_t ngx_http_fastcgi_cache_headers[] = { | 572 static ngx_keyval_t ngx_http_fastcgi_cache_headers[] = { |
573 { ngx_string("HTTP_IF_MODIFIED_SINCE"), | 573 { ngx_string("HTTP_IF_MODIFIED_SINCE"), |
574 ngx_string("$upstream_cache_last_modified") }, | 574 ngx_string("$upstream_cache_last_modified") }, |
575 { ngx_string("HTTP_IF_UNMODIFIED_SINCE"), ngx_string("") }, | 575 { ngx_string("HTTP_IF_UNMODIFIED_SINCE"), ngx_string("") }, |
576 { ngx_string("HTTP_IF_NONE_MATCH"), ngx_string("") }, | 576 { ngx_string("HTTP_IF_NONE_MATCH"), ngx_string("$upstream_cache_etag") }, |
577 { ngx_string("HTTP_IF_MATCH"), ngx_string("") }, | 577 { ngx_string("HTTP_IF_MATCH"), ngx_string("") }, |
578 { ngx_string("HTTP_RANGE"), ngx_string("") }, | 578 { ngx_string("HTTP_RANGE"), ngx_string("") }, |
579 { ngx_string("HTTP_IF_RANGE"), ngx_string("") }, | 579 { ngx_string("HTTP_IF_RANGE"), ngx_string("") }, |
580 { ngx_null_string, ngx_null_string } | 580 { ngx_null_string, ngx_null_string } |
581 }; | 581 }; |