My Profile Photo

Ashley Poole

- Speaker -
- Senior Software Developer -
- Co-organiser of @ShropshireDevs -
- Site Reliability Engineering Advocate -

MSCRM Performance Optimisation Using Compression

Server side for optimising the client

Compression within IIS can be configured to speed up clients. Both static and dynamic responses can be compressed.

By default MS CRM 2011 is configured to compress web responses that are sent to browser clients though is not default for SDK clients such as Microsoft Dynamics CRM for Outlook client. The reason this is not turned on by default is due to the setting is a server level settings and would affect all websites.

-- Configure from console
-- An IIS reset is required after running the below in an administrative console.

%SYSTEMROOT%system32inetsrvappcmd.exe set config /section:system.webServer/httpCompression /+"dynamicTypes.[mimeType='application/soap%%u002bxml; charset=utf-8',enabled='true']" /commit:apphost

-- To turn it off
%SYSTEMROOT%system32inetsrvappcmd.exe set config - section:system.webServer/httpCompression/- "dynamicTypes.[mimeType='application/soap%%u002bxml; charset=utf- 8',enabled='true']" /commit:apphost

Posted on Knowledge Base, server-admin

comments powered by Disqus