0
Welcome Guest! Login
0 items Join Now

Defer Loading of JavaScript

  • Defer Loading of JavaScript

    Posted 9 years 8 months ago
    • Hi,

      I am trying to figure out how to correctly defer loading of javascript on my website www.petsinthesitty.com .

      I read everything at a helpful link previously provided by Damir ( www.feedthebot.com/pagespeed/defer-loading-javascript.html ) but what I do not know is specifically which .js files are necessary for my site to load properly and which are ones I can place in an single external file to defer.

      Multiple online tools have identified the 18 .js files below as the "problem" but I don't know which are critical and which are not. Most are clearly related to RocketTheme stuff so maybe you would be able to help me select ones to defer.

      Help is greatly appreciated, Donna

      /media/system/js/mootools-more.js
      /media/jui/js/jquery.min.js
      /media/system/js/mootools-core.js
      /plugins/system/rokbox/assets/js/rokbox.js
      /templates/rt_vermilion/js/chart.js
      /components/com_roksprocket/layouts/headlines/themes/default/headlines.js
      /media/jui/js/jquery-migrate.min.js
      /templates/rt_vermilion/js/rokmediaqueries.js
      /components/com_roksprocket/assets/js/mootools-mobile.js
      /media/system/js/core.js
      /modules/mod_roknavmenu/themes/default/js/sidemenu.js
      /modules/mod_roknavmenu/themes/default/js/rokmediaqueries.js
      /components/com_roksprocket/assets/js/rokmediaqueries.js
      /libraries/gantry/js/browser-engines.js
      /components/com_roksprocket/assets/js/roksprocket.js
      /templates/rt_vermilion/js/rt-parallax.js
      /media/system/js/caption.js
      /media/jui/js/jquery-noconflict.js

      More about me if you need it:

      Server Details (Linux/Windows, Hosting service, etc)Linux
      PHP version5.2 (I think)
      Platform (name and version)Joomla 3.4.4
      Template (name and version)Vermilion 1.3
      Link to the Issue www.petsinthesitty.com
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: Defer Loading of JavaScript

    Posted 9 years 8 months ago
    • All that JS is necessary for your site to show correctly. This "advice" you can on these tools is rather academic in nature when in general you can do nothing about it.

      You might want to try using rokbooster which can combine and compress a lot of the JS which might mitigate this "advice". Rokbooster has to be tuned to your particular environment and extensions - this is not something we can do for you as part of this support forum. I encourage you to read the rokbooster documentation to learn how to add exclusions and change the many other settings in rokbooster. Once tuned rokbooster will speed up your site so it's worth the effort.


      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.251 seconds