ASP.NET应用程序的压缩HTML输出 [英] Minify Html output of ASP.NET Application

查看:159
本文介绍了ASP.NET应用程序的压缩HTML输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是使我们能够减少由一个asp.net应用程序?

What are the ways by which we can reduce the size of the HTML Response sent by an asp.net application?

我使用的是不归我控制和它产生空格输出。我感兴趣的是涅槃页面的整个HTML输出就像谷歌怎么做(查看源代码www.google.com)改善的时机。

I am using Controls which are not owned by me and it produces output with white spaces. I am interested in Minifying the entire HTML output of the page just like how google does (View source www.google.com) to improve the timing.

是否有可用于ASP.NET能为我做这个东西的实用工具类?

Is there any Utility classes available for ASP.NET which can do this stuff for me?

推荐答案

有没有必要在运行时做到这一点。因为它可以在编译时完成。

There is no need to do it at run time. Because it can be done at compile time.

详细内容:<一href=\"http://omari-o.blogspot.com/2009/09/aspnet-white-space-cleaning-with-no.html\">http://omari-o.blogspot.com/2009/09/aspnet-white-space-cleaning-with-no.html

这篇关于ASP.NET应用程序的压缩HTML输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆