RackSpace enables setting TTL of container trough control panel. This setting sets the value of expire headers to all new
files in container.
If TTL is set to 72h then
expire header of file will be set to: current time + 72h.

Sadly you can’t set TTL to more than 72 hours trough RackSpace web Control Panel.
Cyberduck (free software for managing files in CDN) doesn’t support setting this too.
So the only way to set TTL of the container is trough
API. I went trough C# examples on their website but I found them to be too complex and confusing so I wrote my own code in C#.
It’s really simple. All you have to do is write one GET
HTTP request to get the
authentication token and one
POST HTTP request to set the TTL.
Below is the source code of C# console application, all you have to do is to change the values of
Username, APIKey and Container strings.
After you run the example the TTL of Container will be set to 1 year and far future expire headers of new files will have date one year ahead.