Reply
IIS mod_rewrite (ISAPI Filter vs. Custom 404)
Old 01-06-2009, 02:59 PM IIS mod_rewrite (ISAPI Filter vs. Custom 404)
Average Talker

Posts: 26
Name: John
Any advantages to using a Custom 404 to rewrite vs. using an ISAPI filter?

Obviously, the necessity for elevated privileges when using/installing an ISAPI filter make the 404 approach tasty for anyone without admin access; but for those who have it, are there any other perks? Which is more taxing to the server and bandwidth?
Envision_frodo is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 01-06-2009, 04:15 PM Re: IIS mod_rewrite (ISAPI Filter vs. Custom 404)
chrishirst's Avatar
Super Moderator

Posts: 19,022
Location: Blackpool. UK
bandwidth or more correctly data transfer, will be the same in both cases. The UA is not making extra requests to the server, the transfer between request and rewritten page is handled internally.

The question of extra server load is a moot point. With ISAPI filters EVERY request is sent through the filter, so this adds a minuscule extra load to every page request. With a 404 page, the script is only invoked if the requested URI does not exist.

I run half a dozen moderately busy sites with a 404 page creating a static looking URI with very little increase in CPU utilisation. And I run the server!
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System | Bits & Bobs
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to IIS mod_rewrite (ISAPI Filter vs. Custom 404)
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.08014 seconds with 12 queries