« Previous Next »

Answered Thread: gzip compression doesn 't work for me

Last post 10-22-2009 4:10 PM by graphicsxp44. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 10-22-2009, 12:23 PM

    gzip compression doesn 't work for me

    Hi,

     I want my static content (js, css and images) to be compressed. I've added this to my web.config but no luck, it is still not compressed.

        <system.webServer>

     <urlCompression doStaticCompression="true" />
       
        <httpCompression>
          <staticTypes>
            <add mimeType="*/*" enabled="true" />
          </staticTypes>     
        </httpCompression>
        </system.webServer>

    what else should I do ?

    thanks

  • 10-22-2009, 1:52 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Answered Re: gzip compression doesn 't work for me

    httpCompression section can only go into applicationhost.config.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 10-22-2009, 4:10 PM In reply to

    Re: gzip compression doesn 't work for me

     I don't have access to IIS but I think my shared hosting support guy has done it for me.

     

    thanks

Page 1 of 1 (3 items)
Microsoft Communities