在本文中,主要介绍动态内容压缩。
In this article, I will focus on compressing dynamic content.
另外,在IIS 5.0中也可以启用动态内容压缩功能。
Also, with IIS 5.0, compressing dynamic content can be enabled.
但是,当内容必须动态生成,比如对于电子商务站点或由应用程序和数据库驱动的站点,静态压缩没有什么用处。
Static compression, though, is not useful when the content has to be generated dynamically, such as on e-commerce sites or on sites which are driven by applications and databases.
然而,静态或动态创建的HTML内容只包含纯文本,适合进行压缩。
However, static or on-the-fly created HTML content contains only plain text and is ideal for compression.
例如,在默认情况下,动态压缩并不会压缩文件类型为aspx的内容(ASP.Net),所以必须在列表中添加这个文件类型(kb文章332603)。
As an example, the file type aspx content (ASP.Net) is not compressed by default with dynamic compression so that file type must be added to the list (KB article 332603). To do that, you will.
注意,只有在浏览器发送的HTTP请求头包含Accept - Encoding:gzip的情况下,IIS才会压缩动态内容。
Note that IIS will only compress dynamic content when the HTTP request headers sent from the browser contain Accept-Encoding: gzip.
在流行的InternetInformationServicesWeb服务器5.0 (IIS 5.0)中,支持对静态文件和服务器端应用程序生成的动态内容应用HTTP压缩。
In the popular Internet Information Services Web server version 5.0 (IIS 5.0), HTTP compression is supported on static files and dynamic content produced by server-side applications.
MicrosoftIIS 5.0Web服务器支持动态和静态内容的压缩。
The Microsoft IIS 5.0 Web server supports compression of dynamic and static content. When considering using dynamic compression, administrators should be familiar with some issues.
MicrosoftIIS 5.0Web服务器支持动态和静态内容的压缩。
The Microsoft IIS 5.0 Web server supports compression of dynamic and static content. When considering using dynamic compression, administrators should be familiar with some issues.
应用推荐