varnish and mod_pagespeed
lury at critical.pl
Thu Jun 20 10:07:09 CEST 2013
David, please read this thread on google mps forum, where i described the
same problem and got the solution from mps developers.
You can add header which will force mps to do full optimisation before
sending a response to varnish.
Critical - Conversion Experts
tel. 792 448 678
2013/6/20 <me at ibotty.net>
> > 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?
> maybe you can configure mod_pagespeed to set a header when it is only
> passing through the page.
> and i thought the recommended setup is to have mod_pagespeed before
> varnish, but i've never set it up.
> good luck,
> tobias florek
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc