Re: Apache2::RequestIO sendfile

2010-11-24 Thread Torsten Förtsch
On Wednesday, November 24, 2010 21:48:59 Mohit Anchlia wrote: > If I use $r->sendfile($filenam) and the file is always the same then > does mod_perl open and read this file on every execution or is it > cached? I am wondering if it will be better to copy the contents of > file (500bytes) in the per

Apache2::RequestIO sendfile

2010-11-24 Thread Mohit Anchlia
If I use $r->sendfile($filenam) and the file is always the same then does mod_perl open and read this file on every execution or is it cached? I am wondering if it will be better to copy the contents of file (500bytes) in the perl module instead. Is there a overhead or chances of running out of fi