Martin,
There are several factors to consider when optimizing the serving of static
pages.
One, which your cache is trying to address, is the issue of reading the data
from the disk. As others have pointed out if your file system is doing some
caching for you there may be little gain to be had by caching the data
yourself. I would imagine that any gain that was achieved here would be the
result of either more targeted caching or by the reduction of the number of
system calls that were being made (system calls force a context switch).
However there are several other issues which impact static file serving any one
of which could be the bottleneck. At a minimum some other things to consider
are concurrency issues around your cache, amount of data being copied (be sure
you aren't doing double copies) and the capacity of the outgoing network.
Regards,
Adam Messinger
--
WebLogic is now part of BEA Systems: http://www.beasys.com/
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html