• Hi there,

    I would like to know how a CDN behaves when you delete a photo from the media manager in WordPress. What I mean is: is there any way to keep all the media files in the CDN with all them deleted from the WordPress (afterwards, once it is currently there in the CDN)?

    If this is something that depends on the CDN, is KeyCDN working with this feature?

    Thanks in advance. Regards,

    Alberto.

    https://wordpress.org/plugins/cdn-enabler/

Viewing 3 replies - 1 through 3 (of 3 total)
  • With a CDN pull zone (which a what is used for most WordPress integrations) the CDN pulls content from your origin server. Therefore let’s say you have an image on your origin server and it’s cached by the CDN. If you delete the image from your origin server, then the image will still be delivered by the CDN however, if you end up purging the cache or the cache expires, then the image will no longer exist on the CDN or on the origin server and the image will be broken.

    Therefore it is required that you keep assets on your origin server even once they are cached by the CDN. Additionally, if you want to host certain assets on the CDN you can use a push zone. This article should help further explain the difference.

    Thread Starter Alberto Hornero

    (@hornero)

    Hi codyarsenault,

    Thanks for your complete explanation, please let me check if this is what I’m looking for 🙂 And many thanks in advance for your quick answer.

    Alberto.

    Thread Starter Alberto Hornero

    (@hornero)

    Hi again codyarsenault,

    Everything was explained perfectly. All my doubts were clarified. Thanks!

    Topic closed 😉

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove from media also affects CDN’ is closed to new replies.