If the images are static and you can build them into the jar or war, I'd avoid using StreamResponse and instead use the "asset:" or "context:" binding prefixes.
For jpegs on the classpath ${asset:path/to/image.jpg} For jpegs in the web context ${context:path/to/image.jpg http://tapestry.apache.org/assets.html -- View this message in context: http://tapestry.1045711.n5.nabble.com/StreamResponse-for-small-cacheable-images-tp5715755p5715761.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org