varnish and mod_pagespeed

David Urbansky davidurbansky at gmail.com
Thu Jun 20 01:26:12 CEST 2013


Hello,

I am using Apache with mod_pagespeed (with
"ModPagespeedModifyCachingHeaders off" to allow caching) but
mod_pagespeed does usually not optimize the first request to a page.
Optimizations are done in the background and are then present for
subsequent requests.

The problem is that varnish caches the first request - an unoptimized
page. I wonder whether somebody has found a way to tell varnish to
ignore the first request after the ttl is over and cache the second
one?

Does anybody have this setup running?

Thank you and kind regards,
         David



More information about the varnish-misc mailing list