• Resolved mnahmed

    (@mnahmed)


    Hello,

    After optimization, and when I’m logged in as admin, my pages never load completely, layout is a broken and some things are missing. when I log out, they seem to load fine but it’s still annoying because I’ll have to check my pages in another browser or incognito when I’m designing.
    Is this a normal behavior?

    thanks

Viewing 15 replies - 1 through 15 (of 41 total)
  • Plugin Author Pegasaas

    (@pegasaas)

    Hello @mnahmed

    This sounds like a bug that was resolved with v3.1.4 this last week.

    If you are at 3.1.4 and still experiencing this, may I get your website address so that I can investigate further?

    Kind regards,
    Brandon Devnich
    Pegasaas.com

    Thread Starter mnahmed

    (@mnahmed)

    Yes, I got 3.1.4, here’s the link https://www.englishcenterperu.com/clases-particulares-de-ingles/
    Although it will look fine for you since you’re not logged in

    Thanks

    Thread Starter mnahmed

    (@mnahmed)

    Hi again,

    I am also finding comptability problems with Elementor. When your plugin is enabled, I can’t save the things I edited in Elementor, and currently the above page doesnt look right. things go back to normal when I deactivate Pegasaas.

    I disabled memcache from Siteground hosting and Minify JS in Pegasaas.

    Thanks for helping

    Plugin Author Pegasaas

    (@pegasaas)

    Hi @mnahmed,

    You can simulate how it looks when logged in by passing a query string along, such as https://www.englishcenterperu.com/clases-particulares-de-ingles/?test

    I’m just looking into it now and it appears as though the Javascript deferral method is not executing in quite the right order. Should be able to get this resolved in this week’s patch.

    As far as the compatibility problems are with Elementor — this would require me to see what is going on in the background when the page is saved. I regularly test to make sure the plugin works with page builders such as Elementor, Divi, etc, however occasionally they release a new update which changes how some of the back end functionality works. If we aren’t aware of the change, it can cause the javascript to break.

    I’ll look into this today as well.

    Best regards,
    Brandon

    Plugin Author Pegasaas

    (@pegasaas)

    Hello again @mnahmed,

    I was able to identify the problem for both the “logged in” view as well as the Elementor editor problems.

    The “logged in” view was caused by the code that manages the deferral of inline script blocks not having had an attribute to tell Cloudflare not to push it through “Rocketloader”. By not having that attribute (data-cfasync=’false’), Cloudflare Rocketloader delayed the handling of inline script block deferral. This has been added into the plugin now.

    And then the backend issue was somewhat related in that we were detecting signals incorrectly from the “data-cfasync” attribute in some of the script tags and deferring then, while we were deferring the inline script blocks (the opposite of what was encountered in the first issue).

    This will all be corrected in this week’s patch which I plan to have out on Wednesday (March 11th).

    Kind regards,
    Brandon

    • This reply was modified 4 years, 1 month ago by Pegasaas.
    Thread Starter mnahmed

    (@mnahmed)

    Thanks Brandon, I hope you come back to me with news today, some behavior is really weird. sometimes it’s not catching the CSS. for example, in another page, there’s a button that’s only 19px, but then when I confirm, the button size is bigger and jumps to the other line(create more padding).

    Also, pages don’t load fully when I open them with the Customizer.

    Things got fixed when I disable Pegasaas.

    Thanks so much

    Thread Starter mnahmed

    (@mnahmed)

    Sorry I sent my last message before I read yours.
    Thanks for the feedback, so basically, I just gotta wait for the plugin’s update this week to get everything fixed?
    Thanks

    Plugin Author Pegasaas

    (@pegasaas)

    Hi @mnahmed,

    Yes, it should all be fixed with the next patch. If I can push it out a little early (later today) I will. I’ll update this thread when the update is available.

    If, for whatever reason, the updates that I make don’t fix everything (I believe they should though…) I will do another round of investigation and issue another patch later in the week.

    Best regards,
    Brandon

    Thread Starter mnahmed

    (@mnahmed)

    Thanks Brandon

    Plugin Author Pegasaas

    (@pegasaas)

    Hi @mnahmed,

    Please be advised that v3.1.5 is now available for you to update to. Please let me know if you continue to have these issues that you’ve experienced.

    All the best,
    Brandon

    Thread Starter mnahmed

    (@mnahmed)

    Thanks so much, everything seems to be working fine so far, I’ll mark the thread as solved for now. Thanks again

    Thread Starter mnahmed

    (@mnahmed)

    Hello Brandon, sorry to bother again but it seems like saving Elementor changes is not working properly(or completely). Look here: https://www.englishcenterperu.com/clases-particulares-de-ingles/programa-de-ingles-integral/

    1. The banner/background in the hero section is different from the actual image I put
    2. in the next section, there is an image missing
    3. Third section, the title is in black, while in reality it should be in white

    And it’s the same results, whether logged in as admin or from incognito.

    Please advise, thanks a lot

    Thread Starter mnahmed

    (@mnahmed)

    Update:

    Since my last message, I refreshed the page again, and it seems like points 1 and 3 have been fixed. That makes me realize the plugin doesn’t make the site update itself right away, and yes I had cleared the cache and purged Cloudflare on the first time, which is inconvenient if we have to wait for one hour before to see the live changes.

    issue number 2 still persists, the image remains missing.

    Thanks for your time

    Plugin Author Pegasaas

    (@pegasaas)

    Hi @mnahmed,

    Intermediate optimizations happen immediately (if the cache is non existent), and then the premium API optimizations are performed usually within 30 seconds. If they’re taking longer than 2 minutes, it means the API is under load. It should never take an hour.

    It appears that the web server (or maybe Cloudflare) is serving the cached page with a particular a lifetime of 6 months, and so is instructing the page not to refresh in the web browser. We did have some code in the “.htaccess” file up until recently that may have caused this. Try going to the Settings panel in Pegasaas, then down to “Server Response Time” and into “Browser Caching”. Disable the feature, and then re-enable the feature. That should resolve that from being caused by our plugin. If it continues, then check your Cloudflare settings to ensure there isn’t a long lifetime on text/html resources.

    With regard to the missing image — I believe it has to do with the non-english character in the file name. When it gets optimized, it saves the optimized image to the wp-content/pegasaas-cache/ folder.

    https://www.englishcenterperu.com/wp-content/pegasaas-cache/wp-content/uploads/2020/02/Ingl%C3%A9s-Integral-y-enfocado-a-los-Negocios-800-x-533.jpg

    The original image is:

    https://www.englishcenterperu.com/wp-content/uploads/2020/02/Ingl%C3%A9s-Integral-y-enfocado-a-los-Negocios-800-x-533.jpg

    It seems that perhaps the system is not saving the image correctly. I will have to research this on our end. If I can get a solution early Friday, then I will release it with the patch that is due out within the next 24 hours.

    Thank you for your patience and understanding.

    Kind regards,
    Brandon Devnich
    Pegasaas.com

    Plugin Author Pegasaas

    (@pegasaas)

    Hi @mnahmed,

    Just a quick note that I found the problem and devised a solution. The update will be in tomorrow’s patch (3.1.6). I’ll notify you via this thread when it is available.

    Kind regards,
    Brandon

Viewing 15 replies - 1 through 15 (of 41 total)
  • The topic ‘Page not completed loaded when I’m logged in’ is closed to new replies.