Well it's not a "physical" redirect, its a replacement. The page does nothing else than streaming an image back to the browser, tapestry does not need to do a redirect for that. I can't really tell you how well it performs in real life, it does not have a big user base (maybe 200 users).
I have a project list with about 20 test projects. For each of those I have a thumbnail in the list. The link for the <img> tag is generated using the following line: pageRenderLinkResources.createPageRenderLinkWithContext(ProjectThumbnailStream.class, project.id); The load statistic (checked with firebug) in my local test environment tell me that a Asset Image loads in 62ms and the stream-page-images load in 62-100ms. On a page refresh the numbers are even lower. I would say reading the files from the file system and transferring them over the networks are the biggest performance killer. I guess since it's a shortcircuited page, it's faster than a normal page class anyway. The beauty of it is that I can use the tapestry context and all functions. If you use static images, you also could 1. use a filter or 2. add the images to the app or 3. if you use a app-server behind an apache server, serve the images directly through the apache. in either case you need a method that figures out the correct link to the images. Maybe in a mixin or a component. 2012/4/15 bhorvat <horvat.z.bo...@gmail.com>: > How good does your model behave seeing how you are using the page to redirect > the output of an image, right? Are you working with a lot of images or a > few? > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Serving-images-outisde-of-war-in-tapestry-tp5637138p5642368.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 > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org