-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lyallex,

On 6/10/2009 6:27 PM, Christopher Schultz wrote:
> I would recommend serving the bytes using your own servlet rather than
> the DefaultServlet. That way, you free yourself from these apparent
> directory-caching issues, plus you can (more) easily move your image
> cache out of your deployment directory (if you care).

Scratch that... after reading André's response, I realized that you
might not be able to (easily) use sendFile if you write the code
yourself. Use of sendFile (for connectors that support it) for static
content is strongly recommended for increased performance.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkowNBQACgkQ9CaO5/Lv0PDzZgCgo1oF8LB4X79tXpBmCSwcu3b7
IGcAnAvktD70TcaCeLzZDax1+YCEVnxQ
=/nNl
-----END PGP SIGNATURE-----

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

Reply via email to