ordering load of javascript files

This forum contains topics that were moved from Get Satisfaction
Paul Medawar
Posts: 0
Joined: Thu Apr 03, 2014 10:55 am

ordering load of javascript files

Post by Paul Medawar »

Hi any update on this?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

ordering load of javascript files

Post 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

Paul Medawar
Posts: 0
Joined: Thu Apr 03, 2014 10:55 am

ordering load of javascript files

Post 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?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

ordering load of javascript files

Post 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.

leven.steve
Posts: 0
Joined: Sun Mar 04, 2012 4:01 pm

ordering load of javascript files

Post by leven.steve »

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

ordering load of javascript files

Post by Illya Stepanov »

I have updated Segiy's link.

leven.steve
Posts: 0
Joined: Sun Mar 04, 2012 4:01 pm

ordering load of javascript files

Post by leven.steve »

leven.steve
Posts: 0
Joined: Sun Mar 04, 2012 4:01 pm

ordering load of javascript files

Post 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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

ordering load of javascript files

Post 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.

leven.steve
Posts: 0
Joined: Sun Mar 04, 2012 4:01 pm

ordering load of javascript files

Post 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

Post Reply