Current time: 10-19-2019, 10:36 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Expires Header Setting
10-17-2015, 05:54 AM
Post: #1
Expires Header Setting
Hey there,

anyone with an idea on what to set the Expires Header setting in w3? It's default setting is 3600 seconds I think, which is one hour - not very long. What would be the downsite to setting it to a day or a week?
Find all posts by this user
Quote this message in a reply
10-20-2015, 06:56 AM
Post: #2
RE: Expires Header Setting
This blog has some pointers on the TTLs that can be used for different kind of objects:
https://blogs.akamai.com/2013/11/part-2-...ching.html

Follow me on twitter: @rakshay
Visit this user's website Find all posts by this user
Quote this message in a reply
10-20-2015, 07:32 PM
Post: #3
RE: Expires Header Setting
I'm afraid I don't just grasp the context of it...so it is relevant for google? I'm listed on google news btw. My site recaches when I publish something.
Find all posts by this user
Quote this message in a reply
10-20-2015, 11:58 PM
Post: #4
RE: Expires Header Setting
I mis-read your initial question. I was pointing out an article that speaks about how to decide on right TTL for different content.

If you set a higher TTL, the only downside would that browsers may cache an older version and you will not be able to correct it.

For static objects like stylesheets and JS files, you could have a high TTL like 7 days. For html pages, you may want to reduce it to something like a day, assuming the content changes daily and so on.

Follow me on twitter: @rakshay
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)