Question

Is there anyway of controlling the compression settings in windows azure web sites.

I want to enable dynamic json compression, and can successfully do this with on premise sites by configuring the applicationHosts.config file accordingly.

Are there any options for doing this on a windows azure web site? (not web role)

Was it helpful?

Solution

HTTP compression is not supported with Windows Azure Websites. As this is a very common request from Windows Azure Websites, so Azure Websites team does know about it and working on it. If HTTP compression is MUST for your application, I would say Azure Web Role is your best option.

OTHER TIPS

As of the January 2014 Windows Azure release, Azure web sites now fully support HTTP compression, among several other unlocked features.

For an excellent MS blog article on this from the Windows Azure Team Blog, please see this: http://blogs.msdn.com/b/windowsazure/archive/2014/01/28/more-to-explore-configuration-options-unlocked-in-windows-azure-web-sites.aspx

HTTP compression in IIS is enabled through ApplicationHost.config. We will enable access to this section in WAWS in our October release (exact date TBD). In the October release this will be enabled through a special file users will have to upload (we will provide documentation when we release). Later on (December or January release) we will enable this section in the application web.config. Configuration reference: http://www.iis.net/configreference/system.webserver/httpcompression

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top