Tagged: AWS CDN, Image Service
-
AuthorPosts
-
June 20, 2022 at 10:05 am #54507trek7kGuest
It looks like the extension is successfully sending our image files for processing based on the ‘Image Service’ column in the media library, but the files are not landing back on our Amazon S3 image server. We have a plugin (WP Offload Media Lite) that handles moving any file uploads off the load-balanced web servers to an S3 image server.
Are the webp files being processed by wordpress at all when they are sent back, or are they just directly saved to the wp-content/uploads directory? If the latter it seems this won’t work for multi-server environments. Thanks for your help!
+9 PointsIn a recent test, we converted all of our images to WebP and added 9 points to the Google PageSpeed score! Review the test results to see how we did it!
Upgrade to W3 Total Cache Pro and improve your PageSpeed Scores today!
June 20, 2022 at 10:10 am #54559Marko VasiljevicKeymasterHello,
Thank you for reaching out and for your questions.
With W3 Total Cache Image service all images converted with the Image Service tool are sent to a third-party server maintained by the W3 Total Cache team which reduces resource consumption and allows for a large number of conversions in environments where resources can be limited such as shared hosting. Images sent to the W3TC server for conversion are only held temporarily and no permanent information is kept on the server regarding the images.WebP optimizations with the Image Service tool do not replace the original image file and all conversions can be reverted without any loss of data.
W3 Total cache uses the rewrite rules so you can check your.htaccess/nginx.conf and the WEBP rewrite rules should be there.
I would also recommend checking if the image is converted (Use the image URL and change the extension to .webp) and also make sure that Imagic supports the webp for thumbnails and resized images.I hope this helps!
Thanks!
June 20, 2022 at 12:49 pm #54569trek7kGuestThanks Marko. I’ve checked to see if the .webp image exists on our server after conversion, and it does not which is why I posted here. See attached.
https://images.singletracks.com/blog/wp-content/uploads/2022/06/webp_test.png
June 20, 2022 at 1:18 pm #54582Marko VasiljevicKeymasterHello,
Thank you for your feedback, Can you please share the URL if the image that is showing converted in the media library?
As I’ve stated before, W3TC use the rewrite rules to serve images as webp.Thanks!
June 21, 2022 at 6:45 am #54596trek7kGuestHere’s an example of an image that is showing as having been converted:
https://images.singletracks.com/blog/wp-content/uploads/2022/06/beat-the-heat.pngBut https://images.singletracks.com/blog/wp-content/uploads/2022/06/beat-the-heat.webp doesn’t exist on the image server.
I understand that the HTML will still show the PNG URL is being called, but that the rewrite rule will actually request the WEBP file instead. It seems the problem is that the webp file isn’t actually on the server.
June 21, 2022 at 9:42 am #54622Marko VasiljevicKeymasterHello,
Thank you for the information.
I presume that https://images.singletracks.com/blog/ is the CDN URL. Can you please share the website URL?.Thanks!
June 22, 2022 at 12:56 pm #54630trek7kGuestI’m a little uncomfortable posting additional info about our stack setup in a public forum. We have a pro license so would it be ok to open a private support ticket or something?
June 22, 2022 at 12:56 pm #54678Marko VasiljevicKeymasterHello,
THank you for yoru feebdack.
You can reach out directly via the plugin in Performance>Support, and share any information there.Thanks!
-
AuthorPosts
- The topic ‘Using image service with Amazon S3’ is closed to new replies.