Mobile app version of vmapp.org
Login or Join

Login to follow query

More posts by @Angie530

2 Comments

Sorted by latest first Latest Oldest Best

 

@Kevin317

See www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.3:
The max-age directive on a response implies that the response is cacheable
(i.e., "public") unless some other, more restrictive cache directive is
also present.


It's conceivable (likely?) that there are proxies in the wild which break this but since the only failure mode could be treating a public resource as private the consequences should be minimal beyond a modest performance hit. You'll have far more problems with proxies which do things like cache resources far beyond your specified max-age.

10% popularity Vote Up Vote Down


 

@Martha676

It seem it tells browser that the cache expires after 1 year, 31461276 seconds means 1 year.

More details in this post: EXPIRES VS. MAX-AGE

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme