test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • estradatrabajo Friend
    #163227

    Hi, I’ve read that we can improve the speed of the web load by putting the JS files at the end of the loading (because, with the JS at the begin, the other files -images, etc.- don’t load until the JS files are fully loaded, as I can see with Gmetrix). My question is: how can I make JS files load at the end of the web load?

    (Teline IV; Joomla 1.6; http://www.3dadictos.com)

    gray Friend
    #388269

    JA T3 Framework plugin is compressing and minifying JS. Actually it should help essentially.

    Not sure that loading JS at the end is a good approach, as user can try to perform an action (handled by JS) when that JS is not loaded yet.

    I run into some sites which seems to be using this approach. What I have to do – refresh the page again (and I hadn’t realized the problem right from the beginning).

    estradatrabajo Friend
    #388277

    Hi, gray, thanks for reply.
    I understand your explanation, but I would like to try the other way, because the web is not slow (around 6 seconds to load), but I think maybe is better if the user can to see some images from the beginning of that 6 seconds, not just blank page (if I’m waiting a few seconds without see anything, I can be bored and go away). Yes, if the user want to make an action that needs JA T3 quickly, maybe he can’t do it within the first seconds, but I would like to try and see what works better. Do you know how I can to put the JS at the end of the load?

    gray Friend
    #388287

    No sure how to implement it (loading JS after page load) at once, but a common approach could be running scripts with onDOMReady events.

    estradatrabajo Friend
    #388320

    Thanks again, gray. Rewriting scripts with onDOMReady events seems too much advanced for me (I’m a rookie with Joomla), so I will wait to another suggestions (maybe someone has tried it yet and could help me).

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

This topic contains 5 replies, has 2 voices, and was last updated by  estradatrabajo 13 years, 8 months ago.

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