clear etag

This commit is contained in:
Jeff Kaufman
2012-11-02 16:18:42 -04:00
parent b9fff21986
commit 6c8c4c07ca
+4
View File
@@ -609,6 +609,10 @@ ngx_http_pagespeed_header_filter(ngx_http_request_t* r) {
// and calculate on the fly.
ngx_http_clear_content_length(r);
// Pagespeed doesn't need etags: html is always not to be cached while
// resources are modified to have an etag-like hash in the url.
ngx_http_clear_etag(r);
r->filter_need_in_memory = 1;
int rc = ngx_http_pagespeed_create_request_context(r);