Click here to Skip to main content
15,879,239 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi All,

This regarding JS Bundling, that when we create a bundle for set of JS files those bundle should present some where in memory or in cache? or else?

Means the virtual bundles are created, Where are they physically or logically, please help me to understand this.


Thanks
Posted

1 solution

Quote:
Bundling and minification are two techniques you can use in ASP.NET 4.5 to improve request load time. Bundling and minification improves load time by reducing the number of requests to the server and reducing the size of requested assets (such as CSS and JavaScript.)


Bundling

Bundling is a new feature in ASP.NET 4.5 that makes it easy to combine or bundle multiple files into a single file. You can create CSS, JavaScript and other bundles. Fewer files means fewer HTTP requests and that can improve first page load performance.

For more info check this :Bundling and Minification

I hope this will help to you.
 
Share this answer
 
Comments
am.net 30-Oct-13 5:52am    
Thanks for reply.

I got that why its needed. But my question was, after bundling where those bundles get stored? some where in memory? or in cache? and when?
Sampath Lokuge 30-Oct-13 5:59am    
Yep,It's in Browser cache until you'll invalidate it by using ctr+F5.
am.net 31-Oct-13 3:10am    
Thanks.
Sampath Lokuge 31-Oct-13 3:15am    
Glad to hear that it helped :).If you feel this is the solution,You can accept it.It'll help for the user Who will have the same issue in future.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900