Re: Far Future Expiration Headers of Assets

2015-01-27 Thread George Christman
In production mode Google / yslow have both been complaining about assets missing expiration dates as well as the modules being too short. You can see an example here. https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.cardaddy.com%2F Now do to my lack of Tapestry knowl

Re: Far Future Expiration Headers of Assets

2015-01-27 Thread Howard Lewis Ship
Further, for both modules and normal assets, there's etag support ... so most requsts for a module get a 304 and the browser can use its local cache. On Tue, Jan 27, 2015 at 10:55 AM, Howard Lewis Ship wrote: > Modules can't have a far-future expires header, because we can't put a > fingerprint

Re: Far Future Expiration Headers of Assets

2015-01-27 Thread Howard Lewis Ship
Modules can't have a far-future expires header, because we can't put a fingerprint (asset checksum) into a module URI. All other assets have a checksum in the URI and get the far future expires header. The handling of this is different between development mode and production mode. Short or no exp

Re: Far Future Expiration Headers of Assets

2015-01-27 Thread George Christman
So I figured out how to change the 60sec, configuration.add(SymbolConstants.OMIT_EXPIRATION_CACHE_CONTROL_HEADER, "max-age= 2419200,must-revalidate"); OMIT_EXPIRATION is a bit misleading as I thought it meant to remove the expiration dates. Now I just need to figure out how to ad expiration dates

Re: Far Future Expiration Headers of Assets

2015-01-27 Thread George Christman
Hi Guys, I'm back on this topic again. Does anybody know how to bump up the default 60 second time to something further in the future? On Mon, Dec 22, 2014 at 4:01 PM, Harry Zhou wrote: > Hi George, > > It does sound like the same issue. > > Regarding the "leverage browser caching" warning, I did

Re: tapestry-bootstrap: Zone is rendered differently on "show"

2015-01-27 Thread Barry Books
I suspect it's tapestry-bootstrap. There is a visitor that changes the html from the Tapestry format to Bootstrap. In the case of forms I believe it wraps each input in a div. My guess is this does not happen on a zone. I suspect you can work around this by added the correct markup inside your zone

[T5.3]Mulitfile upload

2015-01-27 Thread Michał Więckowski
Hi everyone, For some time I'm struggling with such a problem, maybe you will be able to advice me something usefull. I need to find tool for handling multifile uploads. I did quite deep searching with such a results: 1. "Tawus-ajaxupload" - it could be ok but it is based on commercial library w