0

I'm using W3 total cache for a while now with all my Wordpress installations. Just started to use CDN and I got some problems with leverage browser caching of my files (mostly images) that are served from my CDN. W3 total won't cache those files and I think because they are on a CDN.

I'm getting this message with Pingdom:

The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources:

All files served from my CDN.

Is this a known issue or is it just me with this problem and doing something wrong?

closed as off-topic by Mark Kaplun, Nathan Johnson, Jacob Peattie, Jack Johansson, bueltge Feb 21 '18 at 8:03

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

1

Your expires value in your CDN settings is likely set to a low number. Your CDN expires header is overriding what is coming from your origin server which is why when you enabled the CDN, you received that message from Pingdom. Try increasing your CDN's expires value.

Also if you're searching for a reliable CDN service I would recommend giving KeyCDN a try.

Not the answer you're looking for? Browse other questions tagged or ask your own question.