This is a migrated thread and some comments may be shown as answers.

Protocol Identification

2 Answers 28 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Adam
Top achievements
Rank 1
Adam asked on 29 Oct 2012, 09:25 PM
A known way to implement a CDN script is as follows:
<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.1.1/js/bootstrap.min.js"></script>
During the simulator, runs great, however, an http: or https:// must be applied to applications prior to running or in an update to the application.
<script src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.1.1/js/bootstrap.min.js"></script>

2 Answers, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 30 Oct 2012, 09:34 AM
Hi Adam,

Schema-less URLs run great on modern desktop browsers, but that's not the case for mobile device browsers and Cordova. Having in mind that your mobile app should support offline scenarios we are advertising that you should put all your scripts locally and not rely on web resources. Having the scripts locally will even improve the performance, because the app will be able to load them immediately without hitting the network.

Hope this helps,
Stefan Dobrev
the Icenium team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Adam
Top achievements
Rank 1
answered on 30 Oct 2012, 03:24 PM
Stefan,
Thanks for the reply. I will load my scripts locally for the performance increase.
Tags
Report a bug
Asked by
Adam
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Adam
Top achievements
Rank 1
Share this question
or