Caching a controller / function response

Hey there,

Been trying to use request.headers['Cache-Control'] for things like feeds and sitemaps and also tried rails’ expire_in but the headers are not being passed along. I couldn’t find any documentation on caching or a ttl setting if there is one?

Thanks!