<div dir="ltr">Hi Roy.<div><br></div><div>This list is mostly concerned with Varnish.  This sounds like something Drupal or Apache does, so you might have better luck seeking help there. </div><div><br></div><div>You could potentially work around the issue by forcing the TTL in Varnish. Please see <a href="https://www.varnish-cache.org/docs/3.0/tutorial/increasing_your_hitrate.html#overriding-the-time-to-live-ttl">https://www.varnish-cache.org/docs/3.0/tutorial/increasing_your_hitrate.html#overriding-the-time-to-live-ttl</a></div>

<div><br></div><div>Regards,</div><div><br></div><div>Per.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 8, 2014 at 8:08 PM, Roy Forster <span dir="ltr"><<a href="mailto:royf442@gmail.com" target="_blank">royf442@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Drupal 7<br>
 <a href="http://isvarnishworking.com" target="_blank">isvarnishworking.com</a> gives me this<br>

"Varnish appears to be responding at that url, but the Cache-Control header's<br>

"max-age" value is less than 1, which means that Varnish will never serve<br>

content from cache at this url."<br>

<br>

When I serve http pages from port 80 setting the cache control for anonymous<br>

users works as expected.<br>

<br>

Yet when I set apache to listen on 8080 and start varnish on port 80 the<br>

cache control sets max-age = 0, and this is despite adding;<br>

<br>

"$conf['page_cache_maximum_age
<div style="overflow:hidden">'] = 21600;" to settings.php<br><br>
Hope someone can help me.<br>
<br>
Kind regards,<br>
Roy Forster</div>
</div>
<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></blockquote></div><br><br clear="all"><div><br></div>-- <br>

<div dir="ltr"><div style="font-size:12.727272033691406px;margin:5px 15px 0px 0px;padding-bottom:5px;color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)"><table border="0" cellpadding="0" cellspacing="0" style="text-align:start;font-size:12px;line-height:1.5em;font-family:'Helvetica Neue',Arial,sans-serif;color:rgb(102,102,102);width:550px;border-top-width:1px;border-top-style:solid;border-top-color:rgb(238,238,238);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(238,238,238);margin-top:20px;padding-top:5px;padding-bottom:5px">

<tbody><tr><td width="100" style="font-family:arial,sans-serif;margin:0px"><a href="http://www.varnish-software.com/" style="color:rgb(17,85,204)" target="_blank"><img src="http://www.varnish-software.com/static/media/logo-email.png" style="float:left;margin-left:10px"></a></td>

<td style="font-family:arial,sans-serif;margin:0px"><b style="font-size:14px;color:rgb(34,34,34)">Per Buer</b><br>CTO | Varnish Software<br>Phone: +47 958 39 117 | Skype: per.buer<br><span style="font-weight:bold">We Make Websites Fly!<br>

<br></span><span style="font-family:'Helvetica Neue',Arial,sans-serif;font-size:14px;font-weight:bold">Winner of the Red Herring Top 100 Global Award 2013<br></span><p style="margin:0px;line-height:normal;font-family:Helvetica">

<img src="https://www.varnish-software.com/sites/default/files/redherring_2013_winner_sml.jpg"></p><span style="font-weight:bold"><br></span></td></tr></tbody></table><div></div></div><div style="font-size:12.727272033691406px;margin:15px 0px;clear:both;color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">

</div></div>
</div>