• Resolved Marisa

    (@marisa2023)


    I have noticed the Jetpack Boost Image CDN caches images referenced by an img src attribute but not img srcset.

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

    (@erania-pinnera)

    Hi there, @marisa2023,

    Thanks for reaching out! Jetpack Boost’s Image CDN should optimise all images on your site, including those in the srcset attribute. In fact, the CDN relies on srcset to serve appropriately sized images for different screen sizes.

    If you’re noticing that srcset images aren’t being served from the CDN while src images are, this could be caused by:

    • A theme or page builder altering how WordPress generates responsive images
    • Missing intermediate image sizes (check Settings → Media to ensure additional sizes are enabled)
    • A plugin conflict affecting srcset output

    Could you share your site URL so we can take a closer look? If you’d prefer to keep it private, feel free to contact us directly and include a link to this thread.

    For reference, here’s our Site Accelerator documentation.

    Thank you!

    Thread Starter Marisa

    (@marisa2023)

    Earlier today I used add_filter(‘jetpack_photon_skip_for_url’, ‘jetpackcdn_external’, 9, 4 ); to turn off caching for all the images which had issues. So the problem is no longer reproducible on our site. Sorry this will have to wait until another time.

    All the other types of images using srcset are cached correctly.

    Plugin Support Stef (a11n)

    (@erania-pinnera)

    Hi there, @marisa2023,

    Thanks for letting us know about that – glad you found a workaround to solve the problem for now 🙂

    When and if the issue reoccurs to your site, don’t hesitate to contact us again.

    I’m going to mark this thread as solved. If you have any further questions or need more help, you’re welcome to open another thread here. Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.