Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!
|
|
#1 |
|
Registered User
|
speeding up IIS a 5 minute how to guide
Hi all, Just the other day I was working at a client's site, and well, the site was not going so fast. So I decided to look into the following concepts to speed up MWP, running Access as the db.
Stats: 1ghz p3, 256mb ram, ide hdd's
Step 1: Compressed data save bandwidth and gets to you faster. This increased my speed on my intranet app by 30% I went into IIS, and set the compression, and the temp space I was to allow the server to use at 32mb, roughly 1/8th the total ram on the box. I also reg edit'd HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Services \Inetinfo \Parameters\ MemCacheSize (REG_DWORD) because it is usually set too high. You will probably see 19 or 25, this is ram consumption as I am told, for idle processes. I set it to 8. To turn on compression for static files go to IIS, right click on your server, go to Properties, click Edit next to the dropdown saying wwwservice, from there select the service tab. Select compress static and apps, and set the radio button to allow 32mb for the max temp folder size. Now this will compress static items, not the asp, now should you have other content or are foolhearty enough to compress ASP (I am) get a command prompt and do the following: CD into c:\inetpub\adminscripts Type:cscript.exe adsutil.vbs set W3Svc/Filters/Compression/GZIP/HcFileExtensions "htm" "html adding "asp" "asa" "gif" "jpg" "swf" "css" "js" or whatever you want to compress. [red]You will probably see some cryptic error, but ignore it. DO NOT TYPE IN MDB, you will have long! lag times, leave the db alone.[/red] Type in next: cscript.exe adsutil.vbs set W3Svc/Filters/Compression/DEFLATE/HcFileExtensions followed by the extensions you chose to compress. If not, you will get weird garbled text. Finally type: iissreset.exe /restart that will stop and start IIS with the new policy in effect. The overall savings in bandwidth is about 15-30% on a default install of MWP and about 30% on Comersus. Uncompressed 530k and 5 seconds, after 70k and 2 seconds Step 2, CACHING: I went to Port80 Software and dropped $150 for a simple caching software, ignore Xcache and Spidercache, they are too expensive ($1500) and caused troubles in demo mode. I set it to cache all the images in the site, and set it's ram allocation to 4mb, which is pretty generous for the total size of all the gifs, jpgs, and static content in MWP. You can run a free demo for 30 days to test it yourself, along with Xcompress courtesy xcache, but that is $400 per server, so the first step in this topic iis compression is free and somewhat effective. The site has roughly as much info as MWP, and is an intranet app, so a public demo is not available at this time. I did do all my other tests on fillmsupplies.com, but no traffic, so who knows if it worked? besides that box was whacked by spidercache, so it has issues. Hope this helps somebody out, and I am not talking out of my behind, because it did infact work for me. I have used it on http://www.LowestPaintBallPrices.com http://www.MissBeverlyHills.com http://www.TestShoot.net and a few others. here is a photo of my girlfriend Kalani to help ease the strain of staring at pixels ![]() http://www.testshoot.com/clients/cli...210017_jpg.jpg
__________________
--------====tSc====-------- Tim Hunold Test Shoot My Variety profile Film Supplies Its So Big (my web stuff) Group Buy city --------====tSc====-------- Last edited by marion; 10-15-2003 at 04:46 PM.. |
|
|
|
|
|
|
|
#2 |
|
Registered User
Join Date: Sep 2003
Posts: 340
|
Great tutorial,
|
|
|
|
|
|
#3 |
|
Registered User
|
thanks, I hope it helps some of you guys out.
www.lpbp.com is a site that is mostly compressed text. its actual size is like 500k+ but it gets sent out comressed as 29k, so hit it, see how fast it loads, even from dial up, that is why i started this was because of text heavy sites and dial up users.
__________________
--------====tSc====-------- Tim Hunold Test Shoot My Variety profile Film Supplies Its So Big (my web stuff) Group Buy city --------====tSc====-------- |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Sep 2003
Posts: 340
|
Well it won
|
|
|
|
|
|
#5 |
|
Registered User
|
yeah you can right click on it to see the page properties, I have the apache script for compression around here somewhere. I had Cobalts, but running Apache was too time consuming. I just pulled some content off so it is like 392k now, even so, still fast.
Finally another Opera user! damn, I thought I was the only one.
__________________
--------====tSc====-------- Tim Hunold Test Shoot My Variety profile Film Supplies Its So Big (my web stuff) Group Buy city --------====tSc====-------- |
|
|
|
|
|
#6 |
|
Registered User
|
Nice one thanx
__________________
HostVoice - When Hosts Compete, You Win Looking for a web host? Let them compete for your business. Submit a free request and receive offers within 15 minutes from qualifying hosts - Personal, Business, NT, Dedicated! |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Nurse agency guide book - The guide to your success | clyde66 | Post your ad here | 0 | 10-13-2006 08:06 PM |
| Business start up guide on how-to-start-a-day-care start your own daycare center | will | Post your ad here | 0 | 06-01-2006 02:12 AM |
| Business start up guide on how-to-start-a-day-care start your own daycare center | will | Post your ad here | 0 | 05-29-2006 11:11 PM |