I'll have to investigate that; it should be sending 304 where appropriate. On Wed, May 26, 2010 at 2:30 AM, Dmitry Gusev <[email protected]> wrote: > What's the purpose of StackAssetRequestHandler? > > I noticed its not using ResourceStreammer (as ContextAssetRequestHandler > does) which makes it always send response to client instead of returning > HTTP 304. > > Here is a firebug output for my application (it takes 1 second to get > core.js). > > GET localhost:8888 > http://localhost:8888/ > 200 OK > localhost:8888 > 2.3 KB > > 88ms > > GET default.css > http://localhost:8888/assets/beta/tapestry/default.css > 304 > localhost:8888 > 1.9 KB > > 39ms > > GET tapestry-console.css > http://localhost:8888/assets/beta/tapestry/tapestry-console.css > 304 > localhost:8888 > 212 B > > 44ms > > GET all.css > http://localhost:8888/assets/beta/ctx/css/all.css > 304 > localhost:8888 > 342 B > > 32ms > > GET index.css > http://localhost:8888/assets/beta/ctx/css/index.css > 304 > localhost:8888 > 54 B > > 44ms > > GET core.js > http://localhost:8888/assets/beta/stack/en/core.js > 200 OK > localhost:8888 > 57.5 KB > > 1.01s > > GET sortable.png > http://localhost:8888/assets/beta/core/components/sortable.png > 304 > localhost:8888 > 827 B > > 7ms > > GET spacer.gif > http://localhost:8888/assets/beta/tapestry/spacer.gif > 304 > localhost:8888 > 43 B > > 20ms > > > > -- > Dmitry Gusev > > AnjLab Team > http://anjlab.com >
-- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
