beacons: serve as Cache-Control: max-age=0, no-cache

This commit is contained in:
Jeff Kaufman
2013-05-02 17:45:15 -04:00
parent 61f32c0294
commit e4f87fd7ef
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -713,6 +713,8 @@ test_filter add_instrumentation beacons load.
OUT=$(wget -q --save-headers -O - -t 1 --timeout=1 \
http://$HOSTNAME/ngx_pagespeed_beacon?ets=load:13)
check_from "$OUT" grep '^HTTP/1.1 204'
# The $'...' tells bash to interpret c-style escapes, \r in this case.
check_from "$OUT" grep $'^Cache-Control: max-age=0, no-cache\r$'
start_test server-side includes
fetch_until -save $TEST_ROOT/ssi/ssi.shtml?ModPagespeedFilters=combine_css \