Do Cache-Control and Expiry headers effect CDN77 Cache expiration setting?
Yes, the "Cache-Control:" and "Expires:" HTTP headers override the default expiry date and the cache expiration setting in the CDN77 client section. The "Cache-Control:" header has priority over "Expires:", so if it is included, our cache servers use the expiration time based on the "max-age=" value set in this header.
Our server also respects the "s-maxage=" value, in the "Cache-Control:" header. For example, if you want your files to be cached on our cache servers, from where you can immediately purge them, in case you made some update to the files, but don't want them cached at all by your visitors browsers, you can send headers like "Cache-Control: s-maxage=2592000, max-age=0", that would take care of exactly such behaviour.
Lastly, our edge servers also respect the X-Accel-Expires header. This header takes priority over all other caching headers
How to set these headers for your files? Check our guides!