• Resolved mtdas99

    (@mtdas99)


    I am using external featured images in featured image for woocommerce. I have enabled media optimization options like LQIP, webp version etc. After that my site pages loading slowly and High CPU usage seen in the server. I am using OpenLiteSpeed with Cyberpanel. Server’s error log showing errors like PHP Warning: getimagesize(//cdn.zivame.com…) failed to open stream etc. Site becomes ok when all the image optimisation options are disabled.

    How to prevent external images being Optimized so that lightspeed will not call this images for optimisation?

    Screenshot: https://ibb.co/hLG8dD4

    • This topic was modified 2 years, 10 months ago by mtdas99. Reason: Add image

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • For me, media optimization is not the reason. Your images are much to big and it takes too much time for optimization and causes high load to optimize them. Resize your images and try again.

    This image is as double big as it must be:
    https://gloimg.zafcdn.com/zaful/pdm-product-pic/Clothing/2019/03/15/source-img/20190315185504_68231.jpg
    600px × 798px (scaled to 258px × 343px)

    All other images at your page are also much tooooooooo big.

    • This reply was modified 2 years, 10 months ago by serpentdriver.
    Thread Starter mtdas99

    (@mtdas99)

    Thsese images are external images that are not saved on my server and I have no control over them. So the size could not be changed. Only one setting is required in Lightspeed plugin that is disable optimize and add image size for external images which are not stored on current server.

    Moreover, when Add image size is on then a php call made as getimagesize by Lightspeed plugin. This call increases load on the server that caused slow loading or downtime.

    Sorry, something is wrong in your strategy how to handle images…..

    I am out! Maybe LiteSpeed support has better ideas.

    Plugin Support qtwrk

    (@qtwrk)

    please try disable “add missing size” option

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Site slows down & high CPU usage due to external media optimization call’ is closed to new replies.