WPCLI command to update CDN assets
-
I didn’t see a WPCLI command in there to update the remote assets on our CDN. It would be nice if we could update the assets on our CDN buckets using some WPCLI command rather than having to go to the dashboard and click on the links to upload certain assets to the CDN.
Use Case:
I update a set of images that had previously existed on my site and on the s3 bucket, but I want to regenerate the thumbnails and update those assets on the CDN.
What I have to do: rsync the files up to the remote server, SSH into the server run
wp media regenerate
and then login to my site and click the links to update the assets on the CDN.What I’d like to do: rsync the files up to the remote server, SSH into the server run
wp media regenerate
andwp w3tc update-cdn --assets=theme
or something along those lines.Any chance we can see some additional WPCLI commands introduced into the plugin to update the assets on the CDN a bit easier?
- The topic ‘WPCLI command to update CDN assets’ is closed to new replies.