Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I noticed that 29030400 is used very often in the Expires directives for static files.

Google recommends to cache this kind of files up to 1 year (1 month at least).

I did the math: 29030400 seconds = 336 days

That is about 1 year minus 1 month, so it perfectly falls in the recommended interval, but the question is why exactly 29030400? And not 31536000 seconds = 365 days for example? Just a blind copy/paste of a value that was set randomly in the old days? Or does it have another explanation?

share|improve this question
Blind copy/paste! – Ali Hashemi Nov 24 '13 at 14:50
up vote 15 down vote accepted

It might come from

60 * 60 * 24 * 7 * 4 * 12 = 29030400

where each month consists of exactly 4 weeks.

share|improve this answer
Great answer m8 :-) many people forget that 4 weeks isn't a month. – Simon Hayter Nov 25 '13 at 0:32
makes sense, genious, accepted. – heytools Nov 25 '13 at 12:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.