Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1383271
    bradmaclean
    Participant

    Hello,
    Having some performance issues with my site – will2walk.org. While trying to troubleshoot, i discovered a few inline Javascript assets (JS/CSS) being called for every one of my pages even though this javasript and CSS is only embedded on two pages. Attached are the requests from GTmetrix.com. Below is the embed code i’m using. The code embeds a form from Littlegreenlight ( donor management web application). Can you help understand why this is occurring and what we could do to make sure this javascript and CSS is only called on the pages in which it is required?

    Here are the inline javascript embed codes and respective pages that contain it:

    https://will2walk.org/online-scholarship-application/
    <script type="text/javascript" src="https://secure.lglforms.com/form_engine/s/zUz47GVC4gzVjCbDG1Fy2A.js"></script><noscript><a href="https://secure.lglforms.com/form_engine/s/zUz47GVC4gzVjCbDG1Fy2A">Fill out my LGL form!</a><br/></noscript>

    https://will2walk.org/volunteer/
    <script type="text/javascript" src="https://secure.lglforms.com/form_engine/s/JDKI9dlt2K0mXvDSarvUbg.js"></script><noscript><a href="https://secure.lglforms.com/form_engine/s/JDKI9dlt2K0mXvDSarvUbg">Fill out my LGL form!</a><br/></noscript>

    Thanks!
    Brad

    #1383733
    Friech
    Moderator

    Hi There,

    Thank you for writing in! Please do a testing for a plugin conflict, it seems its the CP Modal that requesting the JS on other pages. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    Clear and deactivate your caching and optimizer plugins while doing this, so the changes will take effect immediately.

    Let us know how it goes.

    Cheers!

    #1384697
    bradmaclean
    Participant

    thank you! this is helpful.

    #1384705
    Joao
    Moderator

    You are welcome,

    Joao

  • <script> jQuery(function($){ $("#no-reply-1383271 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>