1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

WordPress site slow on desktop, fast on mobile

Discussion in 'Content Management' started by LucasEd, Aug 22, 2024.

  1. #1
    Hi everyone. I’m facing an unusual issue: two days ago, the load speed of the WordPress site (beautifullife.info) suddenly and drastically dropped. It’s so severe that it can take 3 to 4 minutes for a page to fully load-literally.

    Interestingly, when viewing the site on a smartphone, the load speed is just fine. But when I open the site on a PC, loading images can take a very long time, and sometimes not all of them load.

    Here’s what we’ve done so far:
    1. We contacted Hetzner’s support team (where the website is hosted), and they confirmed there are no issues on the server side.
    2. Our admin checked the overall server load (there wasn’t any) and specifically looked at the server logs to see how it responds when opening pages. The server delivers the page quickly, but images load very slowly. This issue only occurs on desktop; as I mentioned, pages load quickly on smartphones.
    So, the server and network seem to be fine, but the problem persists.

    Has anyone encountered something like this? What could be causing it?

    And just to note, we haven’t reinstalled anything on the site, added new plugins, changed hosting providers, or made any other changes.

    I’d really appreciate any help.
     
    LucasEd, Aug 22, 2024 IP
  2. Asterion

    Asterion Active Member

    Messages:
    75
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    93
    #2
    It could be an issue with a plugin or theme, even if no recent changes were made.
    Try disabling all plugins, especially those related to image optimization or lazy loading, and switch to a default WordPress theme.
    This can help identify if a plugin or theme is causing the conflict.
     
    Asterion, Aug 24, 2024 IP
  3. LucasEd

    LucasEd Member

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    Are you suggesting disabling the lazy loading plugin or replacing it with a similar one? Another question - could the issue be due to an older version of PHP on the server?

     
    LucasEd, Aug 25, 2024 IP
  4. GreenHost.Cloud

    GreenHost.Cloud Member

    Messages:
    328
    Likes Received:
    24
    Best Answers:
    3
    Trophy Points:
    33
    #4
    Have you considered checking if there's a specific element on your desktop version that’s causing the delay, like heavy images or scripts? Sometimes clearing your cache or even testing with a different browser can help, too!
     
    GreenHost.Cloud, Aug 26, 2024 IP
  5. Asterion

    Asterion Active Member

    Messages:
    75
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    93
    #5
    Just disable the lazy loading plugin and then check the loading speed.
    If I’m not mistaken, everything should be fine after that.
     
    Asterion, Aug 26, 2024 IP
  6. bijutoha

    bijutoha Well-Known Member

    Messages:
    190
    Likes Received:
    5
    Best Answers:
    1
    Trophy Points:
    173
    #6
    Sometimes, a recent update to your theme or a plugin can cause performance problems. Try temporarily deactivating all plugins and switching to a default WordPress theme to see if the issue persists. If it does, you can reactivate plugins individually to identify the culprit.

    Conversely, Large, unoptimized images can significantly slow your site's loading time. Use a tool like TinyPNG to compress your images without compromising quality.

    Finally, you need to optimize your database. A cluttered or fragmented database can also impact performance. Run a database optimization tool or plugin to clean up and optimize your database.
     
    bijutoha, Aug 26, 2024 IP
  7. m_wc

    m_wc Well-Known Member

    Messages:
    857
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    125
    #7
    can you please inbox me details I can check it for you :)
     
    m_wc, Aug 27, 2024 IP
  8. LucasEd

    LucasEd Member

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #8
    I was able to partially restore the loading speed. As Asterion mentioned, the issue was with the lazy loading plugin. It hadn’t been updated in a while, which slowed down the site. However, updating the plugin requires installing a new version of PHP on the server, and that's not straightforward either. So, there’s still work to be done.
     
    LucasEd, Aug 28, 2024 IP
  9. Crimble

    Crimble Active Member

    Messages:
    18
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    88
    #9
    Yes, without a doubt
    Running on old PHP can certainly degrade performance, sometimes to the extent that your site or backend won't load at all.
     
    Crimble, Sep 15, 2024 IP
  10. Hostragons

    Hostragons Active Member

    Messages:
    40
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #10
    It sounds like you've already done a thorough check on the server and network side. Given that the issue is specific to desktop views and involves images load

    1. Browser Caching and Local Issues:
      • Clear Browser Cache: Some
      • Check Different Browsers: See i
    2. Image Optimization:
      • Image Sizes: Ensure that the images on your site are optimized for web use. Large image files can slow down load times. You can use tools like TinyPNG or ImageOptim to compress images.
      • Responsive Images: Make sure you’re using responsive image techniques to deliver appropriately sized images for different devices.
    3. Content Delivery Network (CDN):
      • CDN Usage: If you're not already using a CDN, consider setting one up. CDNs help distribute your content across various servers worldwide, which can improve load times for desktop users.
    4. Theme and Plugin Conflicts:
      • Deactivate Plugins: Temporarily deactivate all plugins and switch to a default WordPress theme (like Twenty Twenty-Three) to see if the issue persists. If the problem resolves, reactivate plugins one by one to identify the culprit.
      • Check for Updates: Ensure all your themes and plugins are up to date. Outdated code can sometimes cause performance issues.
    5. Network Issues:
      • Check Your Local Network: Sometimes, network settings or issues with your local network can affect load times. Try accessing the site from a different network to see if the problem persists.
    6. Web Hosting Configuration:
      • Check for Network Configuration Issues: Even though Hetzner’s support has checked the server, there could be configuration issues specific to how assets are served.
    7. Developer Tools:
      • Browser Developer Tools: Use the developer tools in your browser (F12 or right-click and select "Inspect") to monitor network activity. Look for any resources (like images) that are taking a long time to load or failing to load.
    8. Check for Errors:
      • JavaScript Errors: Sometimes JavaScript errors can cause issues with how resources are loaded. Check the console tab in your browser’s developer tools for any errors.
    If none of these steps resolve the issue, consider reaching out to a WordPress performance expert who can conduct a more detailed investigation into your site’s performance.
     
    Hostragons, Sep 15, 2024 IP