1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

Can someone help me fix this please?

Discussion in 'Scripting' started by EMAOneBillion, May 22, 2020.

  1. EMAOneBillion

    EMAOneBillion Regular Member

    Joined:
    May 31, 2019
    Messages:
    295
    Likes Received:
    95
    Gender:
    Male
    I keep trying to fix my WordPress speed and I can't find a way to make it work

    upload_2020-5-22_19-40-52.png

    upload_2020-5-22_19-41-14.png

    How is this possible with so small requests and page size to have that loading time?

    I guess the main problem would be 1.82 waiting time of the main URL (first request) but that most likely is caused by Elementor & Elementor Pro.. still if anyone has any suggestions how could I improve or how to debug stuff that it will make my day much better.

    Second, if you see in the screenshot the time gasp between the Javascript file and Ads scripts?
    Why the Adservice.google.ca / .com are calling so late after the JS is loaded?

    However, in 7/10 cases the Javascript file is loaded almost instantly without the grey part from the waterfall. Like instead of 3s it would load in 100ms. But even when that happens the Ads scripts are called after 4-5 seconds from the Javascript...

    Why is this happening? This is a huge problem since the First Contentful Paint is like in 1s but because the rest of the scripts are called with such a delay the full load is taking 10s instead of 2-3s.
     
    Last edited by a moderator: May 25, 2020 at 3:41 PM
  2. greydingo

    greydingo Jr. VIP Jr. VIP

    Joined:
    Dec 31, 2014
    Messages:
    119
    Likes Received:
    31
    Gender:
    Male
    Occupation:
    Software Engineer
    Could be a combination of things.

    Are you sure your hosting isn't slow af?

    Are you using caching?

    It looks like some js is blocking the rendering of some images. Are your script tags placed just above the closing body tag?

    Check this article for some info about blocking js:
    https://developers.google.com/speed/docs/insights/BlockingJS
     
  3. uso

    uso Newbie

    Joined:
    Jan 26, 2020
    Messages:
    13
    Likes Received:
    3
    install plugin phastpress will solve all your problems even your baldness

    also try tools.pingdom.com for some insights
     
    • Thanks Thanks x 1
  4. JamesBondBro

    JamesBondBro Junior Member

    Joined:
    May 1, 2020
    Messages:
    106
    Likes Received:
    36
    Gender:
    Male
    Occupation:
    IT-engineer
    Location:
    Worldwide
    send me real URL of your site in PM, i will evaluate where problems are.
     
    Last edited: May 23, 2020
  5. mikey29

    mikey29 Power Member

    Joined:
    Feb 19, 2008
    Messages:
    520
    Likes Received:
    265
    My number 1 tip

    Is the host

    2nd use wp rocket. It is free here
     
  6. EMAOneBillion

    EMAOneBillion Regular Member

    Joined:
    May 31, 2019
    Messages:
    295
    Likes Received:
    95
    Gender:
    Male
    I use the Vultr hosting and they are pretty good.
    Also, I think there is a problem with the scripts and the way they are called but I don't know how to fx that

    It didn't help too much. I have everything checked on both GTMetrix and Pingdom everything is green..

    Thank you a lot man.. I have already sent you a PM.

    WP Rocket didn't help too much... Autoptimize gives better results.
    And as I said above I'm using Vultr so I don't think the hosting is the problem here.
     
    Last edited: May 24, 2020 at 1:48 PM
  7. Repulsor

    Repulsor Senior Member

    Joined:
    Jun 11, 2013
    Messages:
    874
    Likes Received:
    310
    Send me the URL. I can take a look.
     
    • Thanks Thanks x 1
  8. Sweely

    Sweely Senior Member

    Joined:
    Jun 7, 2009
    Messages:
    888
    Likes Received:
    422
    Gender:
    Male
    Occupation:
    Worthless Clickbank Affiliate
    Location:
    The Chernobyl Exclusion Zone
    I'd love to take a look at it as well. Are you sure your Vultr server has the necessary resources to handle loading your site quickly? Is it a large site?

    I've managed to get a site on Wordpress to 99/99 in Google PageSpeed so I don't know everything but I'd love to show you what I'd do.
     
  9. Ollieri

    Ollieri Newbie

    Joined:
    Dec 20, 2017
    Messages:
    21
    Likes Received:
    2
    Gender:
    Male
    Location:
    Bridgeport
    HTTP 2.0 should solve that
    But is that minified file cached and stored as static file or generated on the fly when WP is loading?
     
  10. greydingo

    greydingo Jr. VIP Jr. VIP

    Joined:
    Dec 31, 2014
    Messages:
    119
    Likes Received:
    31
    Gender:
    Male
    Occupation:
    Software Engineer
    If you guys figure it out in private, would you mind posting the results back here anyways?

    I'd be interested in knowing what the problem(s) ended up being.