How to minify aspx pages

前端 未结 3 1431
梦如初夏
梦如初夏 2021-02-20 15:12

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 sugge

相关标签:
3条回答
  • 2021-02-20 15:25

    There are a couple of methods to achieve this. You can configure GZip compression with IIS7 if you have access. If you don't i.e. you are using a hosting provider it is possible to activate compression from within your code.

    See this SO Post for further reading.

    UPDATE:

    To perform this at build time rather than run time see this blog post.

    0 讨论(0)
  • 2021-02-20 15:29

    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.

    0 讨论(0)
  • 2021-02-20 15:31

    Instead of minifying your .aspx files consider dynamic compression. This will send compressed data to the browser. since you are using IIS 7.5 dynamic compression comes built-in you just have to enable it.

    0 讨论(0)
提交回复
热议问题