Page 2 of 3

ordering load of javascript files

Posted: Sun Jul 31, 2016 7:31 am
by Paul Medawar

Hi any update on this?


ordering load of javascript files

Posted: Sun Jul 31, 2016 8:56 am
by Illya Stepanov

Hi Paul -

Please expand more details, how do you checking the load order of this?

And one more thing to note -- why are you using JS assets for VelocityJS if it has a CDN links available?

I have checked this and it works correctly.
Image


ordering load of javascript files

Posted: Mon Aug 01, 2016 5:02 am
by Paul Medawar

Hi Illya,

loading the CDN has done the trick, thanks!

Can you please let me understand, is it better practise to use CDN instead of loading the JS asset directly in to the build?


ordering load of javascript files

Posted: Mon Aug 01, 2016 10:25 am
by Illya Stepanov

The CDN sources have advantages such as the sources content can be cached by the browser if it were once opened -- so this should boost overall app performance.


ordering load of javascript files

Posted: Wed Nov 09, 2016 12:30 pm
by leven.steve

Can you please change this link to point to the correct place in the new documentation


ordering load of javascript files

Posted: Wed Nov 09, 2016 3:02 pm
by Illya Stepanov

I have updated Segiy's link.


ordering load of javascript files

Posted: Wed Nov 09, 2016 3:28 pm
by leven.steve

ordering load of javascript files

Posted: Wed Nov 09, 2016 3:44 pm
by leven.steve

How would you ensure that these files load in this order?

jQuery
Bootstrap
Bootbox

I have added jQuery and Bootbox in that order as CDNs in the User-Defined Resources tab


ordering load of javascript files

Posted: Wed Nov 09, 2016 3:45 pm
by Evgene Karachevtsev

Dear Steven,

Looks like this is the bug with our documentation, actually this is the correct link to the doc, but it doesn't work for some reason. Please click on the search tab and enter dependency manager, and you'll get the correct link.


ordering load of javascript files

Posted: Wed Nov 09, 2016 4:30 pm
by leven.steve

That's what I did. I have noticed that sometimes when I search the documentation and get a list at the top of the page that when I click one it takes me to the wrong page/item. Next time that happens I will send a suggested edit