Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to minify and combine Javascript and CSS

Can someone give me pointers on how I can minify and combine my CSS as the site I'm working on has performance issues. Also, are external JS and CSS libraries also minified and combined or left as is?

like image 784
Sachin Kainth Avatar asked Jun 04 '26 22:06

Sachin Kainth


2 Answers

There are several convenient options for .NET, for example:

Chirpy

SquishIt

Cassette

And new in ASP.NET 4.5: Bundling in ASP.NET 4.5

like image 115
Andre Loker Avatar answered Jun 07 '26 10:06

Andre Loker


I'd recommend reading Google's Page Speed and their Closure Compiler Service.

like image 45
Ian Devlin Avatar answered Jun 07 '26 10:06

Ian Devlin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!