javascript - How organize and ensure that all script and css are loaded without putting them on each page -


i new web development , building c# web mvc application in visual studios. using jquery,angularjs,twitter bootsrap css , bunch of other 3rd party javascripts. have included reference these files on every page looks nasty. using master layout page other pages thought referencing required resolve problem didnt work out.

how can store required scripts , css in 1 place , have web pages there?

make sure have layout used every page, , make sure layout calling header. throw script files in there.

although suggest against loading javascript files of pages, might take performance hit once scale upward. can put checks in header filter ones need.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -