I see your point, and I might change it at some point, but it's sort of "good enough" as it is... I'm replacing stuff that takes, say, 10s with something that I can fetch, say, 1000/s. It doesn't matter too much if I can do it 1000, 2000, or 5000/s, as lot as it's not 1/s.

Rusty

Dossy Shiobara wrote:
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



--
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.

Reply via email to