• Resolved juice4u

    (@juice4u)


    Hi,

    We are having issues with webp images as selected background images not displaying on Safari Browser.

    I have seen this several times in the past on several different sites where LScache attempts to load webp for Safari and they arent displayed… In the past I have simply switched off webp replacement. However in this case it needs to be resolved.

    Tested on Safari Version 14.1.2 (15611.3.10.1.5, 15611) / Mac OS Catalina 10.15.7 (19H1217)

    I understand Safari / Apple has only recently enabled webp support, and Ive also heard it requires Mac OS Big Sur (which we are not running).

    So I’m not expecting webp to work… all I want LScache to do is display Jpegs instead when it cant show webp.

    FYI certain other background inages on the page are shown correctly as jpeg, not webp. Its only the main hero image and footer background.

    FYI site is built in Elementor Pro.

    So My question is, If the browser and OS cannot support it, why is LScache trying to show it?

    And how do we stop it trying to show webp on incompatible devices, but still show them on compatible ones?

    The site is currently behind a passworded staging domain, so I can’t give details here.

    I’m happy to send full access details to our site if you can give me a secure method to do so.

    Report #: YXAZPNOC

    Thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    is your site has HTTP auth ?

    please share it through report’s note

    Best regards,

    Thread Starter juice4u

    (@juice4u)

    Revised Report # SMYTEJZD

    Looking forward to hearing back from you.

    Thank you.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    could you please try edit file /litespeed-cache/src/media.cls.php

    at line 800 , find

    if ( defined( 'LITESPEED_GUEST_OPTM' ) || $this->conf( Base::O_IMG_OPTM_WEBP_REPLACE ) ) {

    change it to

    if ( defined( 'LITESPEED_GUEST_OPTM' ) || $this->conf( Base::O_IMG_OPTM_WEBP_REPLACE ) && $this->webp_support()) {

    save and purge all , see how it goes on Safari and other browser ?

    Best regards,

    Thread Starter juice4u

    (@juice4u)

    I’ve made the changes as requested.

    The problem is still there, exactly as before.

    LScache is still loading the webp file which is not displaying.

    Please let me know how you go with it?

    Thanks.

    Plugin Support qtwrk

    (@qtwrk)

    well , I think I know where did the issue come from , but my edit didn’t fix

    we will keep investigate to find a proper way to address it.

    Thread Starter juice4u

    (@juice4u)

    Thank you very much – I appreciate that.

    Will you be able to keep me updated as to when a fix will be available?

    Thanks!

    Thread Starter juice4u

    (@juice4u)

    Hey guys,

    Any updates on this?

    Cheers.

    Plugin Support qtwrk

    (@qtwrk)

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘LScache tries to show WebP images on incompatible Mac’ is closed to new replies.