On 2007.09.27, Rusty Brooks <[EMAIL PROTECTED]> wrote: > Yeah, I do this too. To "dirty" the cache you can just delete the > file. I do regular rounds to delete old files. > > I don't use the 404 though, that's a neat idea. Instead I register a > proc that ns_returnfiles the cache file if it exists, otherwise it makes > it and then returns it.
The reason to use the 404-handler method is that static file serving should be even faster than a registered proc--as John discovered through benchmarking. If you change your approach to use the 404-handler instead of the registered proc/ns_returnfile, I think we'd all appreciate a quick benchmark test to see what the difference was. -- Dossy -- Dossy Shiobara | [EMAIL PROTECTED] | http://dossy.org/ Panoptic Computer Network | http://panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70) -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.