pkgcloud / pkgcloud

pkgcloud is a standard library for node.js that abstracts away differences among multiple cloud providers.
http://github.com/pkgcloud/pkgcloud
MIT License
1.18k stars 372 forks source link

Is it possible to modify "Cache-Control" header of a file in Rackspace CDN? #698

Open NMF-1607 opened 3 years ago

NMF-1607 commented 3 years ago

I'm trying to control the caching for a few assets (CSS, JS, Images) which I have hosted in Rackspace. The issue is when I try to set the header "Cache-Control" while uploading the file programatically, its not getting set. Is there any way to set this header? Or is there any alternative way to increase the max-age which is specified in the "Cache-Control" header for these assets which I'm hosting in Rackspace?