test
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • deblock Friend
    #148581

    Hi all,

    I’m working to speed up my Teline III site. Stripping everything down to basics, I can get a score of 76 using Yslow in Firefox, but it still seems sluggish. (Check it out here: http://www.racinepost.com/joomla4 to see what I mean.)

    One question I have with the Yslow score involves the “Put Javascript at bottom” grade. I get a C for the site, but the Teline III demo site gets an A. The demo site also has that nice cascading load to it, while my site has an “all or nothing” look to it. There’s nothing … and then everything appears at once. I’m wondering if this has to do with the Javascripts.

    Anyone have any insights on optimizing here? The speed is preventing me from going live with the site.

    deblock Friend
    #332341

    Another way to phrase the question: Is there any way to remove the JS from the head of the document? Here’s the message from Yslow that makes me think this may be an issue:
    <blockquote>JavaScript scripts block parallel downloads; that is, when a script is downloading, the browser will not start any other downloads. To help the page load faster, move scripts to the bottom of the page if they are deferrable.</blockquote>

    deblock Friend
    deblock Friend
    #332416

    I’m really stumped on the difference between my site and the Demo site on the javascripts. Any idea on how to move them out of the header?

    micrantha Friend
    #332418

    Hello,
    Online demosite is loaded in iframe, so you cannot see directly what scripts are loaded for template.
    When I look into source code of local quickstart installation I see these lines in head:

    <script type="text/javascript" src="/jatelineiii-1.4/media/system/js/mootools.js"></script>
    <script type="text/javascript" src="/jatelineiii-1.4/media/system/js/caption.js"></script>
    <script type="text/javascript" src="/jatelineiii-1.4/modules/mod_jamegamenu/assets/script.js"></script>

    <script type="text/javascript" src="/jatelineiii-1.4/modules/mod_janewsticker/assets/script.js"></script>
    <script type='text/javascript' src='http://localhost/jatelineiii-1.4/plugins/system/plg_jausersetting/script.js' charset="utf-8"></script>
    <script type='text/javascript'>var jaUserSetting; window.addEvent( 'domready', function() {
    jaUserSetting = new JAUserSetting();
    }); </script>
    <script type='text/javascript' src='http://localhost/jatelineiii-1.4/plugins/content/ja_tabs/ja_tabs.js' charset="utf-8"></script>

    <script type="text/javascript">
    var siteurl='http://localhost/jatelineiii-1.4/';
    var tmplurl='http://localhost/jatelineiii-1.4/templates/ja_teline_iii';
    </script>

    <script language="javascript" type="text/javascript" src="http://localhost/jatelineiii-1.4/templates/ja_teline_iii/js/ja.script.js"></script>

    <script language="javascript" type="text/javascript" src="http://localhost/jatelineiii-1.4/templates/ja_teline_iii/js/ja.ddmod.js"></script>

    <script src="http://localhost/jatelineiii-1.4/templates/ja_teline_iii/js/menu/dropline.js" language="javascript" type="text/javascript"></script>
    <script type="text/javascript">var CurrentFontSize=parseInt('3');</script>
    <script src="http://localhost/jatelineiii-1.4/plugins/system/plg_japopup/fancybox/js/jquery-1.3.2.min.js" type="text/javascript" ></script>
    <script src="http://localhost/jatelineiii-1.4/plugins/system/plg_japopup/fancybox/js/jquery.easing.1.3.js" type="text/javascript" ></script>
    <script src="http://localhost/jatelineiii-1.4/plugins/system/plg_japopup/fancybox/js/jquery.fancybox-1.2.1.js" type="text/javascript" ></script>
    <script type="text/javascript" >if (jQuery && jQuery.noConflict) jQuery.noConflict();</script>

    Hope this clarifies your issue

    Good luck,
    Micrantha

    deblock Friend
    #332420

    That makes sense, but unfortunately it doesn’t help with how my site is loading. Any ideas why a site would load all at once instead of in pieces? Could it be the host server?

    To see what I mean, check out:

    http://www.racinepost.com/joomla4

    deblock Friend
    #332458

    Here’s a couple of screenshots from my Yslow test. Anything stand out to anyone? (Sorry to ask, but I’m stuck on this lag issue when the site loads):

    micrantha Friend
    #332495

    Hello,
    I cannot help you in detail, but maybe this post is instructive.
    Good luck,
    Micrantha

    Saguaros Moderator
    #333348

    So that you should use a plugin using for combine all js, css files to reduce http requests, you try find this plugin in JED or try to use the ja compress plugin

    good luck

    deblock Friend
    #333418

    Yeah, I tried JA Compress and others. They help, but any time I combine the JS files it crashes the site.

    Saguaros Moderator
    #333560

    Yes please read the userguide carefully http://www.joomlart.com/forums/topic/ja-compress-plugin-userguide/ and pls try to do this again, and you should find a extension in JED to choose a conformable extension for your site.

    Good luck

Viewing 11 posts - 1 through 11 (of 11 total)

This topic contains 11 replies, has 3 voices, and was last updated by  Saguaros 14 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum