Vývoj webových aplikací ASP.NET
Zdroje:
To enable IIS 5.0 to compress .aspx pages, follow these steps:
- Open a command prompt.
- Type net stop iisadmin, and then press ENTER.
- Type cd C:\InetPub\adminscripts, and then press ENTER.
- Type the following, and then press ENTER:
CSCRIPT.EXE ADSUTIL.VBS SET W3Svc/Filters/Compression/GZIP/HcScriptFileExtensions "asp" "dll" "exe" "aspx"
Type the following, and then press ENTER:
CSCRIPT.EXE ADSUTIL.VBS SET W3Svc/Filters/Compression/DEFLATE/HcScriptFileExtensions "asp" "dll" "exe" "aspx"
- Type net start w3svc, and then press ENTER.
Comment Notification
If you would like to receive an email when updates are made to this post, please register here
Subscribe to this post's comments using