I cached a file on my CDN, but I have made updates to it. How do I get this to reflect before the cache time is over?

Can you answer this question?



Answer
Steve Harris
Steve Harris
  • Answer written
  • 2 Years ago

When you upload a new image while specifying its public-id to be the same as an existing image, your CDN account will be updated with the new image overriding the old one. However, if the original (older) image was already accessed, it might get cached in the CDN. Therefore if you access the exact same URL, you might be still getting a CDN cached version rather than the new updated one.

You will have to include the version component as part of the URL in order to bypass CDN cached version and tforce the delivery of the newest image.


Unknown

Related Questions

Popular Products
Amazon CloudFront

Amazon CloudFront

Price : Pay-As-You-Go
Know More >>
CloudFlare

CloudFlare

Price : Free - Custom
Know More >>
StackPath

StackPath

Price : From $10/month
Know More >>

Click here for more products

© analyzo.com