Re: IIS 6.0 Http Compression not working
From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 03/18/04
- Next message: David Wang [Msft]: "Re: Weird IIS 5 Medium Protection Memory Leak"
- Previous message: David Wang [Msft]: "Re: Logon Window Appears on siblings of authenticated directories"
- In reply to: Rajiv Gupta: "Re: IIS 6.0 Http Compression not working"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 17 Mar 2004 20:58:00 -0800
Yes, your mis-configuration is causing your issue.
The extension of a URL has NOTHING to do with whether it is static or not.
Whether the extension of a URL is mapped to some Application Mapping or
not -- that determines whether the resource is dynamic or static.
By definition, static content is just returned as-is. Dynamic implies that
some processing happens on the resource prior to returning a response. In
this case, something has to process the <!--exec cgi=""--> commands... thus,
a .html mapped to ssinc.dll is considered dynamic content.
-- //David IIS This posting is provided "AS IS" with no warranties, and confers no rights. // "Rajiv Gupta" <rajivgupta@indiamart.com> wrote in message news:4cfe91c7.0403142049.2a11dfa2@posting.google.com... Hi, On our server we have mapped .html extension to the ssinc.dll file since we need to execute .html files as include files (or .shtml). Does this could be the reason for static compression not happening? Also as mentioned earlier in almost every .html page that serves from our page we are including some .asp script files as <!--exec cgi=""--> files to be executed. Can that also be a cause of this issue? Please guide.. thanks Rajiv "David Wang [Msft]" <someone@online.microsoft.com> wrote in message news:<ebt4DbVCEHA.2768@tk2msftngp13.phx.gbl>... > I think you have something configured on the server that is disabling static > file compression for the URLs you're interested in. > > The existence of those files shows that static file compression is > working... at least for the .txt extension served by the static file > handler. > > I think you have an Application mapping for the static URLs that you think > should be compressed, making it "dynamic". Do you have ASP.DLL or > ASPNET_ISAPI.DLL mapped to those extensions? > > -- > //David > IIS > This posting is provided "AS IS" with no warranties, and confers no rights. > // > "Rajiv Gupta" <rajivgupta@indiamart.com> wrote in message > news:4cfe91c7.0403122340.762cb94e@posting.google.com... > Hi, > > The problem still exists as mentioned earlier. Even after expiry of so > much time i am able to see only > "$^_gzip_D^^HOME^TRAVEL^PUBLIC_HTML^ROBOTS.TXT" files (4 in number) > and no files indicating .html extension. For example you can hit the > following url: http://www.indianbeachesportal.com > This domain is one of the many domains that exists on the server on > which we have configured the compression as described in earlier > posting. > > Please try the URL and suggest the solution. > > thanks > Rajiv > > "David Wang [Msft]" <someone@online.microsoft.com> wrote in message > news:<OwS84DCCEHA.2592@TK2MSFTNGP12.phx.gbl>... > > Can you please answer this question: > > How are you certain that Static HTTP Compression is not working -- can you > > prove that you are not seeing static content being compressed? Please > show > > a request which should be compressed but is not. > > > > I made the same configuration changes that you described, and I'm seeing > > static files being compressed. > > > > Absence of files in the directory does not mean that static content is not > > being compressed and served. > > > > -- > > //David > > IIS > > This posting is provided "AS IS" with no warranties, and confers no > rights. > > // > > "Rajiv Gupta" <rajivgupta@indiamart.com> wrote in message > > news:4cfe91c7.0403110340.69ea7c62@posting.google.com... > > Hi, > > > > After sometime i restarted the IIS again and after i got following > > files in the "IIS Temp.." folder > > "$^_gzip_D^^HOME^TRAVEL^PUBLIC_HTML^ROBOTS.TXT" > > > > There were 4 suuch files (all ending with robots.txt) and on file > > ending with .html or any other extension. > > > > -------------------------- > > Just for information: > > The .html pages we use consists of include files (both .html and .asp) > > -------------------------- > > > > Please suggest why .html/gif/jpeg files are not being compressed. > > > > thanks > > rajiv > > > > rajivgupta@indiamart.com (Rajiv Gupta) wrote in message > > news:<4cfe91c7.0403102056.3d2539ed@posting.google.com>... > > > Hi, > > > > > > To enable HTTP compression i did following: > > > In the "Service" tab (got by clicking properties of Websites in IIS) i > > > checked the check box "Compress static files" and let other things as > > > it is > > > i.e., default folder as "%windir%\IIS Temporary Compressed Files" and > > > size to be unlimited. After applying the settings i restarted the IIS. > > > > > > Ours is busy server with around 200+ websites and an average of 1 > > > million hits per day. But even after 1 hour of enabling the > > > compression i did not see any files in the "%windir%\IIS Temporary > > > Compressed Files" folder. Even i myself requested some pages by > > > refreshing them more than once. The browser i use on my client machine > > > is IE6. > > > > > > thanks > > > Rajiv > > > > > > "David Wang [Msft]" <someone@online.microsoft.com> wrote in message > news:<Og$qoGuBEHA.3284@TK2MSFTNGP09.phx.gbl>... > > > > What makes you think that HTTP Compression for Static pages is not > working? > > > > > > > > Did you make two requests that accepts compression and NOT see > compressed > > > > entity body on the second? > > > > > > > > -- > > > > //David > > > > IIS > > > > This posting is provided "AS IS" with no warranties, and confers no > rights. > > > > // > > > > "Rajiv Gupta" <rajivgupta@indiamart.com> wrote in message > > > > news:4cfe91c7.0403100730.3d3189d@posting.google.com... > > > > Hi, > > > > > > > > We have enabled the Http compression for static pages (we do not > > > > require compression for dynamic pages as we wish to have caching for > > > > dynamic pages). But we are not able to see any files/folders in the > > > > "c:\windows\IIS Temporary Compressed Files" folder. We are NOT getting > > > > any error in the event logs and also have checked the permissions for > > > > the said folder. Please suggest how will the HTTP compression get > > > > enabled. > > > > > > > > thanks > > > > Rajiv
- Next message: David Wang [Msft]: "Re: Weird IIS 5 Medium Protection Memory Leak"
- Previous message: David Wang [Msft]: "Re: Logon Window Appears on siblings of authenticated directories"
- In reply to: Rajiv Gupta: "Re: IIS 6.0 Http Compression not working"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading