Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter snugscent

    (@snugscent)

    Sorry, this was my bad. I have found a link on my website that started without a /.

    Thread Starter snugscent

    (@snugscent)

    After long hours of testing, I found the problem – Variations.

    My products contained quite a few variations, one even had 121 of them. As per this thread variable product is the same as having multiple single products. This means that when 1 variation product with 121 variations is displayed in the categories, PHP actually loads 121 products.

    And for some reason (probably, because of the above), LiteSpeed keeps replacing the “same” image over and over again (I did notice this behaviour in my debug log) until it reaches the last variation. After removing that single product with 121 variations, the loading time was reduced by half.

    BTW, product categories without variable products load amazingly fast.

    @qtwrk – yes, I did check I/O, nothing out of the ordinary. I am not serving any images (I think) externally – all are hosted locally.

    @serpentdriver – I don’t think that removing GA, AW and FB snippets will increase TTFB, because that was my problem which was caused by variations. To avoid JS taking too longs, I have delayed the unnecessary JSs when the page is cached. I will probably do the same with trackers ??

    • This reply was modified 2 years, 4 months ago by snugscent.
    Thread Starter snugscent

    (@snugscent)

    @serpentdriver Thanks for coming back to me.

    The observations about webp replacement were made directly from the debug log of LiteSpeed. Replacement takes anywhere from 4 to 6 seconds (data from debug log) X 2 with guest mode enabled (Debug log: https://snugscent.co.uk/wp-content/static/debug.log).

    Another important thing is that crawler runs every 4 hours, so all pages are cached quite frequently.

    In addition, all other pages are having the same issue (Blogs, Categories, Products), and those don’t have that video ??

    For some reason, I think that cache gets purged every now and then (auto purge is disabled), which forces LiteSpeed to cache the page and replace images again because I don’t think that images are replaced in non-cached pages.

    Thread Starter snugscent

    (@snugscent)

    Screenshot of chrome dev console with the load speed: https://snugscent.co.uk/wp-content/uploads/2022/11/Slow-Loading.png
    LiteSpeed Report Number: UMLCFPJE

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