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

2

28

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?

Socha answered 1/8, 2011 at 5:19 Comment(0)
M
30

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...

Muldoon answered 1/8, 2011 at 5:21 Comment(0)
F
12

It's in seconds, so the value you quoted corresponds to 1 hour.

Ferrara answered 1/8, 2011 at 5:22 Comment(1)
was confused at first but this clarifies it, thank you for the straightforward answerMassotherapy

© 2022 - 2024 — McMap. All rights reserved.