Copied to clipboard

Flag this post as spam?

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


  • Jason Espin 368 posts 1335 karma points
    Apr 01, 2015 @ 15:21
    Jason Espin
    0

    Optimising Umbraco 7 for PageSpeed Insights

    Hi all,

    I'm currently in the process of trying to optimise our website further using the PageSpeed Insights tool on Google. I am particularly interested in how others currently approach using gzip on their Media directory and how this works with the ImageProcessor and Slimsy in Umbraco.

    Most of this may be standard .Net stuff however I have been reading loads of forums and everything I have tried so far has stopped the site from working in some way.

    According to my hosting provider Gzip is enabled by default and they provided me with this link to get things setup:

    http://forum.sp.parallels.com/threads/enable-gzip-compression-on-iis-7-5.257706/

    however, Google is telling me that this is not the case for the image served via my media directory as you can see here:

    https://developers.google.com/speed/pagespeed/insights/?hl=en&utmsource=wmx&utmcampaign=wmx_otherlinks&url=http%3A%2F%2Fwww.axumtech.com%2F

    I read somewhere that it is possible to enforce Gzip compression by adding the following under System.WebServer

    <urlCompression doDynamicCompression="true" doStaticCompression="true" dynamicCompressionBeforeCache="true"/> 
    

    However, when I added this to the Web.Config of my live site I was presented with the following error message

    Page uses an invalid or unsupported form of compression

    So my main question is, how do other Umbraco developers typically handle this sort of thing to ensure speedy load times and better SEO? I'm also interested in utilising browser caching if anyone has any experience with this as I've only really been doing .Net for a year or so..

Please Sign in or register to post replies

Write your reply to:

Draft