T5: Caching of javascript

2007-05-07 Thread Yann Ramin


It seems the T5 asset javascript files (such as prototype, 
scriptalicous) are not being cached by browsers (tested IE6 and FF). 
Using Firebug and having the server on a slow (= cable modem upload) 
connection shows this problem very well, with about 2-3s page delay in 
transferring the .js files. Caching appears to work just fine on images 
though, which are also injected via assets.


This may not be a problem with Tapestry per say, but has anyone noticed 
this/found a solution?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5: Caching of javascript

2007-05-07 Thread Howard Lewis Ship

It's a matter of setting the right headers; please add a bug to JIRA and
we'll get this working.

On 5/7/07, Yann Ramin [EMAIL PROTECTED] wrote:



It seems the T5 asset javascript files (such as prototype,
scriptalicous) are not being cached by browsers (tested IE6 and FF).
Using Firebug and having the server on a slow (= cable modem upload)
connection shows this problem very well, with about 2-3s page delay in
transferring the .js files. Caching appears to work just fine on images
though, which are also injected via assets.

This may not be a problem with Tapestry per say, but has anyone noticed
this/found a solution?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com