Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Matthew Wise 265 posts 1282 karma points MVP 3x c-trib
    Apr 22, 2019 @ 11:33
    Matthew Wise

    Gzip compression on Umbraco Cloud

    Hi all,

    So I had gzip working in everything. Without editing the config. However without adding any resources are not been gzipped.

    So I added

    <urlCompression doStaticCompression="true" doDynamicCompression="true" />
    <httpCompression directory="%SystemDrive%\websites\_compressed" minFileSizeForComp="1024">
      <scheme dll="%Windir%\system32\inetsrv\gzip.dll" name="gzip"/>
        <add enabled="true" mimeType="text/*" />
        <add enabled="true" mimeType="message/*" />
        <add enabled="true" mimeType="application/javascript" />
        <add enabled="true" mimeType="application/json" />
        <add enabled="true" mimeType="application/json; charset=utf-8" />
        <add enabled="false" mimeType="*/*" />
        <add enabled="true" mimeType="text/*"/>
        <add enabled="true" mimeType="message/*"/>
        <add enabled="true" mimeType="application/javascript"/>
        <add enabled="true" mimeType="application/json"/>
        <add enabled="true" mimeType="application/json; charset=utf-8" />
        <add enabled="false" mimeType="*/*"/>

    Which results in

    enter image description here

    All the scripts/css are in the same folder. with a location section of

    <location path="common">
      <urlCompression doStaticCompression="true" doDynamicCompression="true" dynamicCompressionBeforeCache="false" />
        <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="300.00:00:00" />

    As you can see some of the scripts/css have not been compressed neither has the document request.

    Any ideas?

    Thanks Matt

  • Thomas 274 posts 555 karma points c-trib
    Sep 09, 2019 @ 07:49


    Did you get this to work ? :)

  • Matthew Wise 265 posts 1282 karma points MVP 3x c-trib
    Sep 09, 2019 @ 08:01
    Matthew Wise

    Contacted Cloud support and they fixed it on their end.


Please Sign in or register to post replies

Write your reply to: