system test: set a maximum html size to process

This commit is contained in:
Jeff Kaufman
2012-11-26 17:40:39 -05:00
parent afb7105351
commit 263a6e4feb
+3
View File
@@ -130,6 +130,9 @@ you need to first build and configure nginx. Set it up something like:
add_header Cache-Control "public, max-age=600";
# Disable parsing if the size of the HTML exceeds 50kB.
pagespeed MaxHtmlParseBytes 50000;
location /mod_pagespeed_test/no_cache/ {
add_header Cache-Control no-cache;
}