• Resolved issacchua

    (@issacchua)


    I tried the W3 Total Cache Image Service, I want to say it is pretty impressive how much the size is reduced when converting to webp format. I generally get more than 60-70% of size reduction.

    My questions are:
    1. Does the converted webp format also upload to CDN? My original image is uploaded to CDN and hosted in S3, will it create another webp file on the same directory as the image but with different name so that the W3 will read from the webp files?

    2. I saw one of the posts that you mentioned this feature is free for free users as well, however there’s a limitation of 100000 images and it’s subject to change. Is the limit set based on the domain name?

    3. Is there anywhere else to trigger the convert without logging into WordPress and click Convert All button? I mean if it is possible to use programmatical way to trigger to convert images into webp.

    4. Say if 1. and 3. are possible, what else do I need to do other than clearing the cache so that my websites can automatically display images of webp format?

    Lastly, kudos to this extension, it works like a charm!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @issacchua

    Thank you for yoru questions and I am happy to answer.

    1. The CDN serves the images that are uploaded from the CDN. Once the images are converted, the CDN needs to be purged so that webp images can replace the existing images and start to serve webp images. If you revert the conversion back, the original images will be served from the CDN.

    2. The feature is free, however, the hourly and monthly conversion limits are there for free users and of course, this will be changed in the future. The Pro user’s monthly and hourly limits for conversion are largely increased. And yes, the conversion is limited by the installation on a domain.

    3. As the calls for the image conversion are called from your dashboard, there is no programmatically converting all images. Also, let me check this more and get back to you to confirm this.

    4. There are some things that you should make to have before converting. The first is that the Imagic installed on your server supports the webp extension as it’s responsible for converting resized images and thumbnails. Also make sure that if you have Nginx over Apache, the Nginx bypasses the rules for images, so the images are handled by the origin.

    I hope this helps!

    Thanks!

    Thread Starter issacchua

    (@issacchua)

    Hi Marko,

    1. Thanks for clarifying!

    2. Thanks for clarifying! Is it documented somewhere on the website? I only saw this limitation from a comment post, wondering if there’s a document that I can refer to.

    3. Thanks! Hopefully there is a programmatical way (API call or php function for example) to perform such task.

    4. I will check and install Imagic to support webp extension. I don’t have Nginx over Apache so that should be fine.

    Thanks again!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @issacchua

    Thank you for your feedback and you are most welcome!
    You can check this article on the W3 Total Cache image service.
    Thanks!

    Thread Starter issacchua

    (@issacchua)

    Thanks Marco, awaiting for your response on item 3. ??

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @issacchua

    I’ve checked the code and the conversion is fired with ajax call;
    add_action( 'wp_ajax_w3tc_imageservice_all', array( $o, 'ajax_convert_all' ) );
    You can check the /wp-content/plugins/w3-total-cache/Extension_ImageService_Plugin_Admin.php#L177

    And thank you very much for the awesome review!

    Thread Starter issacchua

    (@issacchua)

    Thanks Marko,

    I will check that later, thanks!!

    Marking it as resolved.

    Hi Marko,

    I’m a little confused by point 1, where you indicate the CDN needs to be purged after converting images, so that webp images can replace the existing images. After purging the CDN, will the CDN also pull jpg/jpeg/png images as needed, for browsers that don’t support webp?

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Questions regarding W3 Total Cache Image Service’ is closed to new replies.