What is HTTP compression?
As the name states it compresses specified files types when they are requested by clients. This is done on the fly.
Advantages:
This cannot be done through IIS. However this can be done using scripts. Following command used to enable/disable HTTP compression for specific application.
cscript.exe adsutil.vbs SET w3svc/1/root/APPLICATION NAME /DoDynamicCompression true
cscript.exe adsutil.vbs SET w3svc/1/root/APPLICATION NAME /DoDynamicCompression false
As the name states it compresses specified files types when they are requested by clients. This is done on the fly.
Advantages:
- Bandwidth consumed is less since mentioned file types are compressed and then sent to client.
- Faster data transmission.
- CPU usage is more.
- Open IIS
- Right click website for which compression needs to be enabled.
- Select ‘service’ tab.
- Check the option ‘Enable HTTP compression’.
This cannot be done through IIS. However this can be done using scripts. Following command used to enable/disable HTTP compression for specific application.
cscript.exe adsutil.vbs SET w3svc/1/root/APPLICATION NAME /DoDynamicCompression true
cscript.exe adsutil.vbs SET w3svc/1/root/APPLICATION NAME /DoDynamicCompression false
Good about your first blog! thank you. My best wishes for your upcoming blogs!! :-) Good luck!
ReplyDelete