To tune your SharePoint Farm for better performance we recommend to configure the IIS compression (GZIP compression).
IIS compression is turned on by default
but we need to configure it on all SharePoint WFE in few steps :
- Open CMD window and run the following commands :
IIS compression is turned on by default
but we need to configure it on all SharePoint WFE in few steps :
- Open CMD window and run the following commands :
CD \Windows\System32\Inetsrv\
c:\Windows\System32\Inetsrv\appcmd list config -section:httpcompression
this will show the current settings.
- Configuring gzip compression
Appcmd.exe set config -section:httpCompression -[name='gzip'].staticCompressionLevel:9 -[name='gzip'].dynamicCompressionLevel:7
- Configuring CPU usage for compression
appCmd set config -section:httpCompression /dynamicCompressionDisableCpuUsage:50 appCmd set config -section:httpCompression /dynamicCompressionEnableCpuUsage:30
- Configuring minimum size before compression is applied
appCmd set config -section:httpCompression /MinFileSizeForComp:512
Enjoy performance...
For more information TechNet Article.
No comments:
Post a Comment