Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Combining and Caching multiple JavaScript files in ASP.net

Either I had a bad dream recently or I am just too stupid to google, but I remember that someone somewhere wrote that ASP.net has a Function which allows "merging" multiple JavaScript files automatically and only delivering one file to the client, thus reducing the number of HTTP Requests.

Server Side, you still kept all the individual .js files, but the Runtime itself then creates one big JavaScript file which is then included in the script-tag instead and can be properly cached etc.

In case that this function really exists and is not just a product of my imagination, can someone point me in the right direction please?

like image 333
Michael Stum Avatar asked Sep 06 '08 23:09

Michael Stum


1 Answers

It's called Script Combining. There is a video example from asp.net explaining it here.

like image 147
Nicholas Avatar answered Oct 25 '22 19:10

Nicholas