Configuration through CLI and CDN Media Upload
-
Hi,
I’ve been impressed with W3TC’s performance so far in rebuilding our existing website using WordPress in Docker with Docker Compose, but I have a few questions I’d appreciate some input on. I haven’t been able to find any related articles, but I apologise if this has already been answered.
Does W3TC support configuration as code through the WordPress CLI, or at least configuring W3TC from a previous export file using the WordPress CLI? If not is it possible to put the export file in a specific directory so that it’s loaded when WordPress is started?
Secondly, I have configured W3TC with a the Origin Push Amazon CloudFront Over S3 CDN type, and both the upload_path and upload_url_path WordPress options have been configured to the CloudFront CDN endpoint. When I upload media via the wp-admin suite, the new files are not automatically uploaded to the CDN. Is there a configuration I’m missing in W3TC to make this happen? Needing to manually click ‘Upload attachments’ each time would be a deal breaker for me.
Best Regards,
James
- You must be logged in to reply to this topic.