Leverage browser caching by specifying max-age

If cache.content.maxAge is specified, set ‘cache-control’ header to
‘public, max-age=…’

Test added by @isaacs, who also then made the test pass.