szepeviktor / w3-total-cache-fixed

A community driven build of W3 Total Cache. The aim is to continuously incorporate fixes, improvements, and enhancements over the official WordPress release of W3 Total Cache.
https://github.com/szepeviktor/w3-total-cache-fixed/releases
MIT License
237 stars 47 forks source link

max-age is missing in Azure CDN Cache Control headers #507

Open hasandogu opened 7 years ago

hasandogu commented 7 years ago

Hello. Thanks everyone for all the fixes.

I am using Azure CDN and enabled browser caching for everything. I enabled expires header for the media files (cache with max-age). It seems like max-age is ignored completely when I select a Cache Control policy with max-age=EXPIRES_SECONDS in it.

Once the media file is uploaded, I inspect it with Azure Storage Explorer and all it has is "public" (no max-age in the Cache Control metadata). I also tried it with "cache with max-age and validation". Everything is there except max-age.

Is there anything else I need to enable for the max-age to be written correctly on W3TC side?

guillaumeraymond commented 6 years ago

Any update on this issue ?