Support » Plugin: WP Retina 2x » Slow frontend when 2x assets are missing.

  • Resolved zamson

    (@zamson)


    Just updated one of my WordPress sites (WooCommerce) to 4.7.1 and php7-fpm started timing out. After countless of hours of searching for a solution it seems related to wp-retina-2x and somehow ssl and missing assets.

    With query monitor installed I can clearly see that 1. wordpress calls src set and is not possible to turn off in retina settings anymore. If there is 2x assets missing they become 404 in the query and slows down the site o 7-10 seconds load time. If I turn off wp-retina 2x I’m back at 0.8 sec load time.

    Is there a way to keep the speed even if sizes are missing? Unfortunately my clients are bad at uploading large images from time to time.

    I don’t know if turning off src set will work since that option can’t be saved anymore. Please advice.

    • This topic was modified 2 years, 11 months ago by zamson.
    • This topic was modified 2 years, 11 months ago by zamson.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hello,

    If you set Method to None, the plugin will not do anything (except creating the alternative images if Auto is on).

    The fact you are missing retina images or alternative images doesn’t slow down your website. Something else is happening.

    The retina plugin adds retina images in the src-set if they are found in your filesystem, and only if they are, and those are based on the alternative images that WP generated for you. If they aren’t, they are not added in the src-set. So it shouldn’t slow down anything, in theory.

    Where do you see those queries? Is it in HTTP? SQL? or you in your filesystem?

    By the way, what do you mean by:

    I don’t know if turning off src set will work since that option can’t be saved anymore.

    Hi Jordy,

    Thanks for getting back to me. Just realized this was due to data corruption in the DB when upgrading WordPress to 4.7.1.

    Now retina-2x plugin is working again as expected.

    • This reply was modified 2 years, 11 months ago by zamson.
    Plugin Author Jordy Meow

    (@tigroumeow)

    Cool, I’m glad it works 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Slow frontend when 2x assets are missing.’ is closed to new replies.