The max-age value appears to be: 0

Roy Forster royf442 at gmail.com
Tue Apr 8 20:08:08 CEST 2014


Drupal 7
 isvarnishworking.com gives me this
"Varnish appears to be responding at that url, but the Cache-Control
header's
"max-age" value is less than 1, which means that Varnish will never serve
content from cache at this url."

When I serve http pages from port 80 setting the cache control for anonymous
users works as expected.

Yet when I set apache to listen on 8080 and start varnish on port 80 the
cache control sets max-age = 0, and this is despite adding;

"$conf['page_cache_maximum_age
'] = 21600;" to settings.php

Hope someone can help me.

Kind regards,
Roy Forster
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140408/5a581340/attachment.html>


More information about the varnish-misc mailing list