I've modified my web.config by adding this: Code: <httpCompression minFileSizeForComp="10" staticCompressionIgnoreHitFrequency="true"> <scheme name="gzip" /> <staticTypes> <add mimeType="image/svg+xml" enabled="true" /> </staticTypes> </httpCompression> <urlCompression doStaticCompression="true" doDynamicCompression="true" /> It does work, but not always - it looks like my website sends it compressed only when I reload the page to the browser. Compression for JS files works all the time. Should I specify any other parameters there?
Thank you, your link helped a lot. It seems, that this: Code: <httpCompression staticCompressionIgnoreHitFrequency="true"> is useless. Only this: Code: <serverRuntime frequentHitThreshold="1" frequentHitTimePeriod="23:59:59" /> works.