Re: IIS Compression and Windows Sharepoint Services

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 03/03/05


Date: Thu, 3 Mar 2005 08:53:40 -0800

Regarding turning off integrated windows authentication:

If you never planned to authenticate remote users (i.e. they remain
anonymous or authenticated in other manners), you should turn off
authentication.

Authentication will be slower than Anonymous, no question about it, so it
wasn't so much as a "performance increase" as much as you are tuning your
server to not do things that you didn't need (but the server has no way to
read your mind to figure that out...)

-- 
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
<fuchs.markus@gmail.com> wrote in message
news:1109785550.631234.142690@g14g2000cwa.googlegroups.com...
Thank you for your answer, but I got it already running.
Problem was that I hadn't enabled "Use HTTP 1.1 over Proxy" in the IE
Advanced Internet Options.
Now static compression of ows.js and ie55up.js work fine. The files are
downsized to under 100 kb.
Another performance increase was the disabling of integrated windows
authentification in the virtual server settings.
David Wang [Msft] wrote:
> - Changes made by editing metabase.xml is ignored by default, unless
you
> have enabled Edit While Running.
> - Changing HcFileExtensions requires restarting IIS for it to take
effect.
> This should be the only setting you change in the metabase, and can
be done
> via the commandline.
> - gzip.dll does NOT need to be added to Web Service Extensions - such
helper
> DLLs and ISAPI Filters automatically run when configured because they
are
> global.  Only ISAPI Extensions and CGI EXEs need to be added to Web
Service
> Extensions because they are per-request.
> - Your browser must allow compression by sending an appropriate
> Accept-Encoding: header
>
> --
> //David
> IIS
> http://blogs.msdn.com/David.Wang
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> //
> "Markus" <Markus@discussions.microsoft.com> wrote in message
> news:4CBD1608-625B-4A21-A59C-8E05915A8746@microsoft.com...
> Hello, I'm not sure if my post is in the right newsgroup, but I think
that
> my
> problem is more IIS specific than to wss.
> Because very large JavaScript files are transferred the first time a
user
> opens a sharepoint site, I wanted to use IIS compression to
accelarate the
> loading time of ows.js and ie55up.js.
> So I made the following steps:
> * In Inetmgr -> Web Sites -> Properties -> Service -> Check Compress
static
> files and application files
> * Edit the MetaBase.xml as follows:
> <IIsCompressionScheme Location
="/LM/W3SVC/Filters/Compression/deflate"
> HcCompressionDll="%windir%\system32\inetsrv\gzip.dll"
> HcCreateFlags="0"
> HcDoDynamicCompression="TRUE"
> HcDoOnDemandCompression="TRUE"
> HcDoStaticCompression="TRUE"
> HcDynamicCompressionLevel="9"
> HcFileExtensions="js htm html txt css htc"
> HcOnDemandCompLevel="10"
> HcPriority="0"
> HcScriptFileExtensions="asp aspx asmx asa"
> >
> </IIsCompressionScheme>
> <IIsCompressionScheme Location ="/LM/W3SVC/Filters/Compression/gzip"
> HcCompressionDll="%windir%\system32\inetsrv\gzip.dll"
> HcCreateFlags="1"
> HcDoDynamicCompression="TRUE"
> HcDoOnDemandCompression="TRUE"
> HcDoStaticCompression="TRUE"
> HcDynamicCompressionLevel="9"
> HcFileExtensions="js htm html txt css htc"
> HcOnDemandCompLevel="10"
> HcPriority="1"
> HcScriptFileExtensions="asp aspx asmx asa"
> >
> </IIsCompressionScheme>
> <IIsCompressionSchemes Location
="/LM/W3SVC/Filters/Compression/Parameters"
> HcCacheControlHeader="max-age=86400"
> HcCompressionBufferSize="8192"
> HcCompressionDirectory="D:\Compressed IIS Files"
> HcDoDiskSpaceLimiting="FALSE"
> HcDoDynamicCompression="TRUE"
> HcDoOnDemandCompression="TRUE"
> HcDoStaticCompression="TRUE"
> HcExpiresHeader="Wed, 01 Jan 1997 12:00:00 GMT"
> HcFilesDeletedPerDiskFree="256"
> HcIoBufferSize="8192"
> HcMaxDiskSpaceUsage="99614720"
> HcMaxQueueLength="1000"
> HcMinFileSizeForComp="1"
> HcNoCompressionForHttp10="TRUE"
> HcNoCompressionForProxies="FALSE"
> HcNoCompressionForRange="FALSE"
> HcSendCacheHeaders="FALSE"
> >
> </IIsCompressionSchemes>
>
> * Added the gzip.dll as Web server extension
>
> Result:
> None of my files is sent compressed to the client
>
> What am I doing wrong? Am I missing something?
> Thanks for help in advance
> Markus


Relevant Pages

  • Re: HELP PLEASE The request failed with HTTP status 401: Access Denied.
    ... Web Security: Part 2: Introducing the Web Application Manager, Client ... Authentication Options, and Process Isolation ... It introduces the Web Application Manager in IIS that ... logon session, which is dangerous. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: Can no longer access ActiveSync
    ... OMA and Exchange/Exchange-OMA virtual directory. ... Please verify Authentication settings by the following steps. ... Open IIS Manager ... issue may be caused by the Exchange attribute of original user account. ...
    (microsoft.public.exchange.admin)
  • Re: Basic Authentication fails with Error 401.2 where Integrated s
    ... I didn't realise the Web Sites folder in IIS manager threw up a global ... sure that Basic Authentication is allowed to function on your server. ... ACCOUNTNAME, this is the account that I am trying to grant access to: ... Account: COMPUTERNAME\ACCOUNTNAME Access type: FULL ...
    (microsoft.public.inetserver.iis.security)
  • Re: SBS2k3 and activesync over the air
    ... the Exchweb virtual directory. ... ONLY 'Basic authentication' is selected ... please restart your IIS service and test your issue again. ... Regarding ActiveSync issue, support code 0x85010014 means error HTTP 500. ...
    (microsoft.public.windows.server.sbs)
  • Re: How can I set "remote_user" in ISAPI filter/Extension?
    ... HSE_REQ_EXEC_URL (ISAPI Extension functionality) is able to change the ... - ISAPI Filter requires Basic authentication configured, ... I have checked the new feature of IIS 6 Extension. ... No. Server Variables are read-only entities representative of the ...
    (microsoft.public.inetserver.iis.security)