I am using wp offload media plugin to serve the images from cdn (cloudfront) and I enalbed your plugin and webp conversion feature in it and JS web rewriting.
With above settings,
it will save the image into webp and upload the webp file to S3 bucket as well? so the webp will be served from cloudfront?
or it requires special service or configuration?
I just understand what is expected behaviors in nutshell.
In the doc, it says “you need to make one small change in your Distribution settings. Under the Behavior tab, select the Behavior and click the Edit button. Choose Whitelist from Forward Headers, and then add the “Accept” header to the whitelist.”
I have checked my cloudfront settings, I dont see anything like Whitelist or Forward Headers.. Do you mind adding some screenshots to see where to find such settings?
As that document mentions, if you are using WP Offload Media with an S3 through Cloudfront, you want to use the JS WebP rewriting. The second paragraph pertains to you:
“If you use Cloudfront with Amazon S3, it can get a bit more complicated (again), unless you use WP Offload Media. If you are using WP Offload Media, and have local copies of your images, you can simply enable JS WebP Rewriting, run a Bulk Optimize, and EWWW IO will auto-configure itself to work with your S3/Cloudfront URLs. If you use WP Offload Media, and do NOT have local copies of images on your web server, you need to enable the Force WebP option, run a Bulk Optimize, and then enable JS WebP Rewriting. Do it in that exact order to avoid broken images on your site.“
With mentioned method (s3 offload media with cloudfront), will the webp will be stored on s3 every time a new image is uploaded to the site automatically? Or it will be stored only when I run the bulk transform?
There is automatic optimization whenever you upload a new image so the process should run to generate a WebP when you upload that image and store it on your S3 bucket via WP Offload Media.
That obviously isn’t the norm, nor should it be happening, but it could be any number of things. What are you using to measure “performance” or the slow down? And if you would like to dig into these things in further detail, it would probably be best to contact us directly and send over the system info from the support tab of the plugin settings: https://ewww.io/contact-us/
I’m going to resolve this thread as I haven’t heard anything back. If you have further questions about this please contact us directly or open a new thread.
Viewing 10 replies - 1 through 10 (of 10 total)
The topic ‘wp offload media’ is closed to new replies.