• Resolved wpforumkey

    (@wpforumkey)


    Ok,

    I admit that i am ignorant about image optimization. But please explain to me the followings:

    My website was so slow especially on smart phone, iPhone. And it almost always gave me the “Gateway Time out” Error message on iPhone….with SG Optimizer turned on.

    So, I started to play with SG Optimizer plugin and also with the Optimole plugin, well…not all at once, but each different time.

    When I played with Optimole, every time when they upgrade its version, some of the images in my web site were broken. And the speed was not helped either, so I deactivated Optimole. I hated that plugin.

    Now, I was testing this SG Optimizer because my hosting company is SiteGround.

    Well…googling explained that the optimization plugins would help the speed of my web site dramatically. So, in the settings, I set on the Lazy Load Images and turned on all the “Frontend Optimization” setting too. Then, I started Existing Images Optimization which took really long hours.

    After all the Existing images Optimization done, I tried to see my website on my iPhone. And….many images on my Woocommerce site were broken. Well…at least it did not show me “Gateway Timeout error”, but most of the images of the products in my site (which is not many) were broken.

    So, I turned off the “Lazy Load Images” setting. Now, it shows all the images and it works normal.

    Well…to do the right thing with this plugin, I guess I had to turn on the “Lazy Load Images” settings, because that is the way of this plugin to help the performance of a web site. But, I don’t understand why the SG Optimizer plugin and the Optimole plugin do not perform as it was supposed to do….with getting slow and lots of broken links to the images.

    After i turned off the lazy load images, my web site looks a lot faster and, of course there is no broken links to the images and No “Gateway timeout error” any more. I, initially thought that the Gateway time error” was caused by many variations in my products…although there are only 10 products. But, the plugin itself seemed to cause those Gateway time out errors.

    Could somebody explain this to me? This is a mystery to me. Well…I did not activate both plugins at the same time…so, it’s not a conflict issue.

Viewing 1 replies (of 1 total)
  • Plugin Author Stanimir Stoyanov

    (@sstoqnov)

    SiteGround Representative

    Hey @wpforumkey

    I have had similar issue few weeks ago and the problem was conflict between our html minification and a page builder.

    What the Lazy Load functionality is doing is to get the page content and then replace all image tag source with placeholder using regular expression.

    To see a Gateway Timeout I guess that there is something else that is trying to process that page html, and it’s conflicting with our Lazy Load. This conflict results to infinite loops where each functionality is doing something and at some point these processes hit the timeout.

    I cannot say that this is the issue without checking your site, but using my previous experience I bet that this caused the issue.

    Regards,
    Stanimir

Viewing 1 replies (of 1 total)
  • The topic ‘image optimization myth: Somebody explains to me please’ is closed to new replies.