• Resolved Megunticook

    (@megunticook)


    I’ve installed WP-Optimize and successfully converted my images to .webp format.

    But now I’m testing a CDN (CloudFront) and noticing that only the original unconverted images are being uploaded to my static content origin (an S3 bucket), so all the .webp image links are broken.

    I can manually upload the .webp images to my S3 origin but that’s not a sustainable solution. I’m using W3TC to automatically upload the image files to the origin.

    What would be the best solution for this? For now I’ve added a rule in W3TC to upload all .webp images found in the /wp-content/uploads directory, which seems to work, but then I have to remember to click that upload button everytime I add a new .webp image. Normally W3TC will handle the upload automatically when you place a new image.

    Just wondering if others have encountered this issue and what the most elegant solution is. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support vupdraft

    (@vupdraft)

    Are you using W3TC? to create the WebP versions of your images?

    Thread Starter Megunticook

    (@megunticook)

    No, I was using WPOptimize. Should I try using W3TC instead? Would W3TC then automatically update all the image URLs in my site and also upload the .webp files to the CDN?

    Plugin Support vupdraft

    (@vupdraft)

    Hi,

    I would try using W3TC

    I have checked this with our development team and it looks as though W3TC isn’t recognising the WebP images and that it would something you would need to raise with them.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘getting .webp images onto Cloudfront CDN’ is closed to new replies.