Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to minify aspx pages

I am developing a web-based Pokemon Online game. Since it is online, I would like to optimize it to run as quickly possible.

I've installed Firebug and Page Speed suggests minifying my HTML output. I'm also using VS2008, ASP.NET 3.5, AJAX, and IIS 7.5; along with URL-Rewriting.

I want to minify my HTML, JavaScript, and CSS. Optimally, I'd like the minifying process to happen at compile time. I've spend hours looking online but couldn't find a decent solution, can you help me? Thank you.

like image 613
MonsterMMORPG Avatar asked Sep 30 '10 10:09

MonsterMMORPG


1 Answers

Firstly, you should read the Yahoo best practices for speeding up webpages.

You will probably find that minifying the HTML won't have much difference (also see this question), but a lot of the other suggestions in that article will.

like image 161
Justin Avatar answered Sep 20 '22 21:09

Justin