Using Gzip compression will increase the CPU usage of the server but can reduce the data sent by the server to the client through compression. If Gzip is used, IIS will automatically detect when sending data to the client, if the client browser Support IE6.0, firefox Gzip, then use Gzip compression to transfer data, if not supported, use the normal way to send.
So, sum up his advantages and disadvantages, excellent: compression transmission, the speed is generally increased by 2 times. Lack: CPU usage will improve, but through my analysis, GZIP will only compress when accessing a page. Next time, if the page does not change, it will not be compressed unless it is using compressed dynamic files. To decompress.
REM Setup IIsCompressionScheme for deflate cscript adsutil.vbs set W3Svc /Filters /Compression /DEFLATE /HcCompressionDll "% windir% \\ system32 \\ inetsrv \\ gzip.dll" cscript adsutil.vbs set W3Svc /Filters /Compression /DEFLATE /HcCreateFlags 0 cscript adsutil.vbs set W3Svc/Filters/Compression/DEFLATE/HcDoDynamicCompression TRUE cscript adsutil.vbs set W3Svc/Filters/Compression/DEFLATE/HcDoOnDemandCompression TRUE cscript adsutil.vbs set W3Svc/Filters/Compression/DEFLATE/HcDoStaticCompression TRUE cscript adsutil .vbs set W3Svc /Filters /Compression /DEFLATE /HcDynamicCompressionLevel 9 cscript adsutil.vbs set W3Svc /Filters /Compression /DEFLATE /HcFileExtensions "htm" "html" "txt" "js" "xml" "css" cscript adsutil.vbs set W3Svc /Filters /Compression /DEFLATE /HcOnDemandCompLevel 9 cscript adsutil.vbs set W3Svc /Filters /Compression /DEFLATE /HcPriority 1 cscript adsutil.vbs set W3Svc /Filters /Compression /DEFLATE /HcScriptFileExtensions "asp" "dll" "exe" "aspx " "asmx" REM Setup IIsCompressionScheme for GZip cscri pt adsutil.vbs set W3Svc /Filters /Compression /GZIP /HcCompressionDll "% windir% \\ system32 \\ inetsrv \\ gzip.dll" cscript adsutil.vbs set W3Svc /Filters /Compression /GZIP /HcCreateFlags 1 cscript adsutil.vbs set W3Svc /Filters /Compression /GZIP /HcDoDynamicCompression TRUE cscript adsutil.vbs set W3Svc /Filters /Compression /GZIP /HcDoOnDemandCompression TRUE cscript adsutil.vbs set W3Svc /Filters /Compression /GZIP /HcDoStaticCompression TRUE cscript adsutil.vbs set W3Svc /Filters /Compression /GZIP /HcDynamicCompressionLevel 9 cscript adsutil.vbs set W3Svc/Filters/Compression/GZIP/HcFileExtensions "htm" "html" "txt" "js" "xml" "css" cscript adsutil.vbs set W3Svc/Filters/Compression/GZIP/HcOnDemandCompLevel 9 cscript Adsutil.vbs set W3Svc/Filters/Compression/GZIP/HcPriority 1 cscript adsutil.vbs set W3Svc/Filters/Compression/GZIP/HcScriptFileExtensions "asp" "dll" "exe" "aspx" "asmx" REM Setup IIsCompressionSchemes parameters cscript adsutil. Vbs set W3SVC/Filters/Compression/Parameters/HcCacheControlHeader max-a Ge=86400 cscript adsutil.vbs set W3SVC/Filters/Compression/Parameters/HcCompressionBufferSize 102400 cscript adsutil.vbs set W3SVC/Filters/Compression/Parameters/HcCompressionDirectory "%windir%\\IIS Temporary Compressed Files" cscript adsutil.vbs set W3SVC/Filters /Compression /Parameters /HcDoDiskSpaceLimiting FALSE cscript adsutil.vbs set W3SVC /Filters /Compression /Parameters /HcDoDynamicCompression TRUE cscript adsutil.vbs set W3SVC /Filters /Compression /Parameters /HcDoOnDemandCompression TRUE cscript adsutil.vbs set W3SVC /Filters /Compression /Parameters /HcDoStaticCompression TRUE cscript adsutil.vbs set W3SVC/Filters/Compression/Parameters/HcExpiresHeader "Wed, 01 Jan 1997 12:00:00 GMT" cscript adsutil.vbs set W3SVC/Filters/Compression/Parameters/HcFilesDeletedPerDiskFree 256 cscript adsutil.vbs set W3SVC /Filters/Compression/Parameters/HcIoBufferSize 102400 cscript adsutil.vbs set W3SVC/Filters/Compression/Parameters/HcMaxDiskSpaceUsage 0
The above is the method, save as a batch The command file is fine. The format is: adsutil.vbs
WebDA-based (Web-based Distributed Authoring and Versioning) A communication proto
There are already a lot of homes with more than two desktops, and the old machines that have been re
WIN2003 IIS 6.0 IIS does not automatically write logs. 1. Select the Start Logg
Log in to VPS using SSH Enter /root/vhost.sh Please enter Please input domain Others See the pict
Server Cabinet and Data Center Rack Mount Cheats
How to check and troubleshoot network problems through DNS technology?
Teach you 15 strokes to improve server security level
Explain IIS website server performance optimization cheats thirteen articles
Noun analysis: What is Microsoft's server Hyper-V technology
407 Proxy Authentication Required Error Solution
SMEs need to count the account of the hosting server
Connection may not be enabled or the computer is too busy (resolving remote desktops cannot connect)
Windows 10 Build 10056 and then exposed new maps Built-in multiple theme color scheme
How to open harassment interception and blacklist function Win10 Mobile How to open black
How to use WinXP's built-in recorder software to open and use
How to open the highest user management authority under Win7 system
How to completely delete files in Win10 cipher command to completely remove Win10 files
How to restore Windows 7 Favorites
Microsoft Win7/Win8 upgrade Win10 downloader how to use the