Hi,

I wanted to know if it was worth using the sendfile features for small static files or is the APR already optimised for serving static content?

I basically have a jsp that makes a choice between serving up a static (.html) and custom version of the page dependant on whether the user is authenticated.

If the user is not authenticated the required sendfile request attributes for the static version are set and the body of the jsp disregarded. The static versions are about 10-20k and it works fine.

I guess my question is, if I use <jsp:forward page="/index.html" /> instead of sendfile, is their any difference?

I figure that if I have lots of unauthenticated users this will help with maintaining the load.

Regards,

Simon


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to