What is the timespan type of max-age in the HTTP response header? Seconds, minutes?

Paul Mendoza picture Paul Mendoza · Aug 1, 2011 · Viewed 17.2k times · Source

In the HTTP response header for my website it is returning a header that contains the following value.

"Cache-Control: max-age=3600"

Is 3600 in seconds or minutes?

Answer

jcomeau_ictx picture jcomeau_ictx · Aug 1, 2011

delta seconds. http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.3

max-age

Indicates that the client is willing to accept a response whose age is no greater than the specified time in seconds...