What is the TTL attribute in a Cloud Files container?
The following article will discuss the use of a TTL (Time To Live) and how it works. Let's take a look below:
When creating a Container in cloud files and making that Container public, each file within that container will have what you call a TTL (Time to Live). The attribute and its value can be viewed / modified in the CDN through the Next Generation Cloud Files user interface. 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 can take values between 15 minutes and 50 years. Higher numbers should be used for static content which doesn't change often. Smaller numbers should be used if the content changes more often. If you believe you require a longer TTL, see the following blog post on using the API to set TTL. Take a look at the steps below on how to modify your TTL within the Cloud Control Panel:
- First login into the Cloud Control Panel and select Cloud Files at the top.
- Next, select a container that you've just created and then select the socket icon next to that container. Next, select Make Public (Enable CDN) followed by Publish To CDN.
- Next, select the socket icon once more and then select Modify Time To Live (TTL). Enter in your desired TTL and when you're finished, select Save TTL.
© 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