122 lines
4.8 KiB
HTML
122 lines
4.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
|
|
<TITLE>HcDoStaticCompression</TITLE>
|
|
<SCRIPT LANGUAGE="JavaScript">
|
|
<!--
|
|
TempString = navigator.appVersion
|
|
if (navigator.appName == "Microsoft Internet Explorer"){
|
|
// Check to see if browser is Microsoft
|
|
if (TempString.indexOf ("4.") >= 0){
|
|
// Check to see if it is IE 4
|
|
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
|
|
}
|
|
else {
|
|
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
|
|
}
|
|
}
|
|
else if (navigator.appName == "Netscape") {
|
|
// Check to see if browser is Netscape
|
|
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
|
|
}
|
|
else
|
|
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
|
|
//-->
|
|
</script>
|
|
<SCRIPT LANGUAGE="VBScript">
|
|
<!--
|
|
Sub Window_OnLoad()
|
|
Dim frmContents
|
|
On Error Resume Next
|
|
If Not Parent Is Nothing Then
|
|
Set frmContents = Parent.Contents
|
|
If Not frmContents Is Nothing Then
|
|
frmContents.Window.TOCSynch_Click
|
|
End If
|
|
End If
|
|
End Sub
|
|
//--></SCRIPT><META NAME="DESCRIPTION" CONTENT="Internet Information Services reference information">
|
|
<META HTTP-EQUIV="PICS-Label" CONTENT='(PICS-1.1 "<http://www.rsac.org/ratingsv01.html>" l comment "RSACi North America Server" by "inet@microsoft.com <mailto:inet@microsoft.com>" r (n 0 s 0 v 0 l 0))'>
|
|
<META NAME="MS.LOCALE" CONTENT="EN-US">
|
|
<META NAME="MS-IT-LOC" Content="Internet Information Services">
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
|
|
<H3><A NAME="_k2_hcdostaticcompression"></A><SUP></SUP>HcDoStaticCompression</H3>
|
|
|
|
<P>This metabase property specifies whether IIS will compress responses to requests for static content. At the global level, <B>HcDoStaticCompression</B> indicates that IIS will respond to requests for static content (such as .htm and .txt files) by first checking the compression directory specified by <A HREF="/iishelp/iis/htm/asp/apro18mx.htm"><B>HcCompressionDirectory</B></A>. If a compressed version of the static file is found in the directory, it will be sent to the client browser. Otherwise, if on-demand compression is enabled with <A HREF="/iishelp/iis/htm/asp/apro0r72.htm"><B>HcDoOnDemandCompression</B></A>, IIS will send the requested file in uncompressed form, and add that file to the background compression queue.</P>
|
|
|
|
<P>At the individual compression scheme level, <B>HcDoStaticCompression</B> indicates whether the individual compression scheme supports compression of static files.</P>
|
|
|
|
<P>Because <B>HcDoStaticCompression</B> is not inheritable, in order for static compression to actually be enabled for a server, <B>HcDoStaticCompression</B> must be set to TRUE at both the global level and individual scheme level.</P>
|
|
|
|
<P>If you change the value of this property at the individual compression scheme level, the Web service must be restarted before the change takes effect.</P>
|
|
|
|
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>Data type</TD>
|
|
<TD width=50%>Boolean</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>Default value</TD>
|
|
<TD width=50%>TRUE</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>Inheritance</TD>
|
|
<TD width=50%>Not inheritable</TD>
|
|
</TR>
|
|
</TABLE><BR>
|
|
|
|
<H6>Access Locations</H6>
|
|
|
|
<P>This property is accessible at the following locations:</P>
|
|
|
|
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
|
|
|
|
<TR VALIGN="top">
|
|
<TD class=blue width=50%><B>Metabase Path</B></TD>
|
|
<TD class=blue width=50%><B>Key Type</B></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>/LM/W3SVC/Filters/Compression/Parameters</TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore4mcz.htm"><B>IIsCompressionSchemes</B></A></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>/LM/W3SVC/Filters/Compression/<I>Scheme</I></TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore6sh1.htm"><B>IIsCompressionScheme</B></A></TD>
|
|
</TR>
|
|
</TABLE><BR>
|
|
|
|
<H6>IIS Admin Base Object Information</H6>
|
|
|
|
<P>The following table lists additional information required only for code that uses the IIS Admin Base Object.</P>
|
|
|
|
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>Metabase identifier</TD>
|
|
<TD width=50%><B>MD_HC_DO_STATIC_COMPRESSION</B></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>Data type</TD>
|
|
<TD width=50%><B>DWORD_METADATA</B></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>User type</TD>
|
|
<TD width=50%><B>IIS_MD_UT_SERVER</B></TD>
|
|
</TR>
|
|
</TABLE><BR>
|
|
<hr class="iis" size="1">
|
|
<p align="center"><em><a href="../../../common/colegal.htm">© 1997-2001 Microsoft Corporation. All rights reserved.</a></em></p>
|
|
</BODY>
|
|
</HTML>
|