Manage Time to Live (TTL) in a Cloud Files container

This article describes how to use the Time To Live (TTL) attribute and
how it works.

When you create a container in Cloud Files and you make that container
public, the files within that container have a designated TTL. The TTL
is the time interval after which the CDN rereads the contents of the
container. This attribute and its value can be modified in the CDN
through the Cloud Files user interface.

New values take effect after the current TTL cycle is completed. The TTL
can be any value between 15 minutes and 50 years. Use higher numbers for
static content that doesn't change often, and use smaller numbers for
content that changes more often. If you require a longer TTL, use
the Cloud Files Application Programming
Interface (API) to set TTL.

Use the following steps to modify a container's TTL within the Cloud
Control Panel:

  1. Log in to the Cloud Control Panel.
  2. In the top navigation bar, click Select a Product > Rackspace Cloud.
  3. Select Storage > Files.
  4. If the container isn't already public, click the gear icon next to
    the container and select Make Public (Enable CDN). In the popup
    box, click Publish to CDN.
  5. Click the gear icon next to the container again and select Modify Time To Live (TTL).
  6. Enter the TTL for the container in seconds and click Save TTL.