Refresh / download media files from Amazon S3 CDN to WP server
-
Is there a feature that will allow a post editor (or Admin) to tell WordPress to grab media files from the CDN if the’re missing locally? I describe in more detail below why we need this if interested.
We are using Amazon s3 for a CDN to get past the issue of replicating images across 2 load balanced servers. We create a post while connected to one of the servers and the images automatically get pushed to amazon so that they will be available to published posts regardless of which server the user is directed to.
The issue is that if a different editor is connected to server A, they do not see the images in the media library that another editor uploaded when they were connected to server B. WP knows the image is there and what the URL is, but the file is missing from the media library on server A. It’s on server B and on Amazon, so it works fine for everything (including preview and the published post) except “editing” on server A.
The sysadmin can sync up the media files between the 2 servers by copying files to correct it, but I’d prefer that our editor take care of it themselves. Is there a feature that I’m missing that will allow the editor on server A tell WordPress to grab files from the CDN if the’re missing locally?
Thank you,
Michael
- The topic ‘Refresh / download media files from Amazon S3 CDN to WP server’ is closed to new replies.