Hi forum!!
In the default webconfig of umbraco I noticed that compression was set to false.
I found some post on the net, which actually recommended all settings set to true.
Would anyone know what would happen if I set all to true?
These paths are back-office paths and are not used by visitors of your front-end, so it's not necessary to optimize those paths. It might even introduce unwanted behavior, like caching.
That setting also has the side effect of blocking compression for all controller responses.
You have to override the location="umbraco" with location="umbraco/surface" settings to get compression from your surface controller responses.
kpusoep: Are you sure about the caching? I haven't found anything indicating that activating the compression settings also activates caching. The last setting according to the iis docs
https://msdn.microsoft.com/en-us/library/aa347437(v=vs.90).aspx
controls whether the content is compressed for each request or whether the content is compressed once and then cached for subsequent requests.
Would also love to hear the reasoning behind stopping compression in the backoffice, seems like there's loads of angular views and controllers that could benefit from a good gzipping :)
According to the IIS documentation, the default value for doDynamicCompression is "true", and not false, as set in the webconfig.
So I will set this to true and test this next weeks.
doStaticCompression settings
Hi forum!! In the default webconfig of umbraco I noticed that compression was set to false. I found some post on the net, which actually recommended all settings set to true. Would anyone know what would happen if I set all to true?
thanks! Peter
Hi user!!
These paths are back-office paths and are not used by visitors of your front-end, so it's not necessary to optimize those paths. It might even introduce unwanted behavior, like caching.
Thank you oh all knowing forum. :-) :-)
Thanks
Peter
That setting also has the side effect of blocking compression for all controller responses. You have to override the location="umbraco" with location="umbraco/surface" settings to get compression from your surface controller responses.
kpusoep: Are you sure about the caching? I haven't found anything indicating that activating the compression settings also activates caching. The last setting according to the iis docs https://msdn.microsoft.com/en-us/library/aa347437(v=vs.90).aspx controls whether the content is compressed for each request or whether the content is compressed once and then cached for subsequent requests.
Would also love to hear the reasoning behind stopping compression in the backoffice, seems like there's loads of angular views and controllers that could benefit from a good gzipping :)
Well,
According to the IIS documentation, the default value for doDynamicCompression is "true", and not false, as set in the webconfig. So I will set this to true and test this next weeks.
is working on a reply...