NOTE: This article is written for our First-Generation Cloud Control Panel. A version of this article is also available for our Next-Generation Cloud Control Panel.
All container in Cloud Files have an attribute called TTL (Time to Live). The attribute and its value can be viewed / modified in the CDN and Metadata section of the Cloud Files user interface (shown below).

- The TTL is the time interval after which the CDN will reread the contents of the container.
- This time interval can be viewed / modified / stored as number of days using the up/down arrow in the CDN & Metadata pane.
- After modifying the number of days by using the up/down arrows user must press the "Apply TTL" button. The new value will take effect after the current TTL cycle is completed.
- The TTL option in the control panel can accept values between 1 hour and 50 years. Higher numbers should be used for static content which does not change often. If you require a longer TTL, see this blog post on using the API to set TTL as low as 15 minutes.
- Smaller numbers should be used if the content changes more often.
© 2011-2013 Rackspace US, Inc.
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License
See license specifics and DISCLAIMER
11 Comments
TTL maximum of 72 hours, how to cache for months?
Re: TTL
Re: TTL
http://www.rackspace.com/cloud/blog/2011/03/31/extending-ttl-for-cloud-files-cdn-users/
TTL and expires headers
Re: expires header
Bandwidth Charge
Thank you.
RE: Bandwidth Charge
The sentence that you referred to which mentions reducing bandwidth charges was written for the article during a time when we were still charging for both inbound and outbound bandwidth. The 'savings' mentioned would have applied to less frequent updates to Cloud Files (inbound). Now that we no longer charge for inbound bandwidth (only outbound) that sentence no longer applies to Cloud Files, and has been removed from the article.
You can also find some more updated material on using Cloud Files in the following article:
http://www.rackspace.com/knowledge_center/content/best-practices-using-cloud-files
Please let us know if you have any more questions, or if there is anything else we can help you with.
Thank you!
Using SSH to change the 72 Hour limit
Tutorial can be found here
<a href="http://www.bybe.net/blog/how-to-fix-rackspace-file-cloud-leverage-browser-caching-via-api-ssh.html">Rackspace File Cloud Leverage Browser Caching</a>
Tut wouldn't of been possible without the helpfulness of the Rackspace Team, Thanks for the on going support you provide my company.
RE: Using SSH to change the 72 Hour limit
Thanks for the feedback and for crafting that excellent tutorial on using cURL for issuing commands through the API! I'm sorry it took so long to get the information that you were looking for through our support staff, and I'm sure many customers will find your tutorial helpful. We are working hard to improve the information in the Knowledge Center and recognize the need for a good cURL tutorial.
In the future we will be including the ability for our customers to contribute content directly to the Knowledge Center. Can we contact you at that time to see about incorporating this information?
Thanks again
What happens with a 0 TTL?
What happens if I put a TTL of 0? Does this mean the frequency of checking for changes is more regular, or does it mean no checking at all?
re: TTL
If the file changes that frequently you'd be much better off serving it locally, where you can more easily control the content and replace it instantly (instead of waiting for a change to replace copies cached on edge servers on the CDN).
Add new comment