cache-control
cache-control copied to clipboard
create cache-control headers
Whey you use max-age, code that is generated in express shows following: `res.set('Cache-Control', 'max-age 86400');` shouldn't there be `=` instead of space, like so `res.set('Cache-Control', 'max-age=86400');` Thank you
Taking Apache as an example, the code output may look like this: > ``` > # for all responses > > Header set "Cache-Control" 'no-cache' > > > # for...
`only-if-cached` is a request directive, so it seems it'd be incorrect to include it in a response, see https://tools.ietf.org/html/rfc7234#section-5.2.1.7
First of all, great tool! Nice job on this. In Firefox, the "share | copy" links in the header are being overlaid by the element in the HTML called ``....