What Browser Cache TTL timeout do you set?

code API

BANNED - Failed to resolve a dispute
Joined
Oct 20, 2018
Messages
6,378
Reaction score
3,515
For your website, do you set the browser cache TTL to expire at 4 hours, 24 hours, one week, one year etc?

Which TTL duration do you prefer?
 
I am still looking for opinions. Guys let me know.
 
It depends on how your website works:
  • If the content is dynamically changing then I would use shorter TTL to even seconds or minutes.
  • If it's static content, then you would better using longer TTL to even years if you won't be changing the content for that long.
 
Back
Top