sub vcl_hit {
# 5% of the time ignore that we got a cache hit and send the request to the
# backend anyway for instrumentation.
if (std.random(0, 100) < 5) {
set req.http.PS-ShouldBeacon = <your-secret-key>;
return (pass);
}
}
sub vcl_miss {
# Instrument 25% of cache misses.
if (std.random(0, 100) < 25) {
set req.http.PS-ShouldBeacon = <your-secret-key>;
return (pass);
}
}
The line:
set req.http.PS-ShouldBeacon = <your-secret-key>;
Should be:
set req.http.PS-ShouldBeacon = "<your-secret-key>";
Thanks
Rafael
magician
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/7a4a7401-896f-40ac-b510-5d08c000c0e1%40googlegroups.com.