0

Between internal and external script which one can make the page to run faster ?

12th Sep 2016, 8:21 AM
Joshua Ng andwe
Joshua Ng andwe - avatar
3 odpowiedzi
+ 3
It's about the same (internal should be a little bit faster). However, if you use the same script on different pages, an external script is better since the browser can cache it. Same deal for css.
12th Sep 2016, 1:01 PM
Zen
Zen - avatar
+ 3
it depends on what you mean by "run" if to show static part of the page, then use external scripts if your script does some rendering - it can be faster if it is internal. ------ basically, the speed of your script depends its optimization. Also, if you use the same code on different pages, it should be external.
12th Sep 2016, 1:07 PM
Илья Маклецов
Илья Маклецов - avatar
- 1
hi I had study HTML and CSS and JavaScript but I don't know how to use it if there's any way to use like crating a web cite or an app please Tell me
12th Sep 2016, 2:38 PM
Nabil Ben
Nabil Ben - avatar