How enable gzip compression on asphostportal windows hosting

Questions and information regarding the Windows desktop client - Fragen und Informationen zum Windows Desktop-Client

How enable gzip compression on asphostportal windows hosting

Postby jhienxle » 24 Nov 2016, 10:21

I have done research on enabling gzpi compression on asphostportal shared windoes hosting and here is the proposed solution:

Code: Select all
<system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
    <modules runAllManagedModulesForAllRequests="true"/>

    <httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
      <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll"/>
      <dynamicTypes>
        <add mimeType="text/*" enabled="true"/>
        <add mimeType="message/*" enabled="true"/>
        <add mimeType="application/javascript" enabled="true"/>
        <add mimeType="*/*" enabled="false"/>
      </dynamicTypes>
      <staticTypes>
        <add mimeType="text/*" enabled="true"/>
        <add mimeType="message/*" enabled="true"/>
        <add mimeType="application/javascript" enabled="true"/>
        <add mimeType="*/*" enabled="false"/>
      </staticTypes>
    </httpCompression>
    <urlCompression doStaticCompression="true" doDynamicCompression="true"/>

  </system.webServer>


But this is currently not working and I am not getting http response header, Content-Encoding gzip.

Can someone help me with this? Thanks
jhienxle
 
Posts: 1
Joined: 24 Nov 2016, 09:12

Return to Windows XP/Vista/7/8/10

Who is online

Users browsing this forum: No registered users and 12 guests