<div dir="ltr">David, please read this thread on google mps forum, where i described the same problem and got the solution from mps developers.<div><a href="https://groups.google.com/forum/#!topic/mod-pagespeed-discuss/j7X4uSckXlg">https://groups.google.com/forum/#!topic/mod-pagespeed-discuss/j7X4uSckXlg</a><br>
</div><div><br></div><div>You can add header which will force mps to do full optimisation before sending a response to varnish.</div><div><br></div><div><br></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">
<div><br></div><div>Regards,</div><div><br></div><div>Łukasz Rysiak </div><div>Critical - Conversion Experts</div><div>tel. 792 448 678</div><div><a href="http://critical.pl" target="_blank">http://critical.pl</a></div><div>
<br></div></div></div>
<br><br><div class="gmail_quote">2013/6/20 <span dir="ltr"><<a href="mailto:me@ibotty.net" target="_blank">me@ibotty.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hi,<br>
<div class="im"><br>
> The problem is that varnish caches the first request - an unoptimized<br>
> page. I wonder whether somebody has found a way to tell varnish to<br>
> ignore the first request after the ttl is over and cache the second<br>
> one?<br>
<br>
</div>maybe you can configure mod_pagespeed to set a header when it is only<br>
passing through the page.<br>
<br>
and i thought the recommended setup is to have mod_pagespeed before<br>
varnish, but i've never set it up.<br>
<br>
good luck,<br>
tobias florek<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
</div></div></blockquote></div><br></div></div>