view http response

2014-12-22 Thread D.R.
Hi, i want to view the http response just before the server will send to the client. I tried to install a dispatcher impl. but it is always called before the page is activated (with before:PageRender). How i can achieve that? Kind regards David

Re: Far Future Expiration Headers of Assets

2014-12-22 Thread George Christman
I'm having this same issue which I posted up a couple weeks ago without any response. http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/5-4-asset-expire-header-td5729478.html So my first question is what did you do to resolve the issue? Secondly I am running in production mode,

Re: Tapestry and Clojure

2014-12-22 Thread Ilya Obshadko
No, I didn't try getObject() yet. That means the code for injection would be a little bit more complex, but I'll explain using simple version from the previous message: https://gist.github.com/xfyre/f6a62b3f63ed01929054 Line 4: define dynamic global variable as (promise) - it's not available at

Re: view http response

2014-12-22 Thread Thiago H de Paula Figueiredo
On Mon, 22 Dec 2014 13:25:09 -0200, D.R. d.re...@googlemail.com wrote: Hi, Hi! i want to view the http response just before the server will send to the client. Why? -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Far Future Expiration Headers of Assets

2014-12-22 Thread Chris Poulsen
The cdn should handle the expire headers. Tapestry only tells the client where to get the files. As for the modules I've never had a look at their expiration time, but a simple test app in production mode also reposts 60secs here. - Guess that could be something to dig into. -- Chris On Mon,

Re: Far Future Expiration Headers of Assets

2014-12-22 Thread Harry Zhou
Hi George, It does sound like the same issue. Regarding the leverage browser caching warning, I did not solve the problem -- it appears to be a false alarm by Chrome PageSpeed: (i) if one keeps the Chrome developer panel up and click around in a Tapestry webapp, one should see that the assets

Re: view http response

2014-12-22 Thread D.R.
Hi, for debugging purposes. Sometimes they not want to believe me. Yes i know i can view it in the client, but it would be great to see it on the server too. Kind regards David Am 22.12.2014 um 20:12 schrieb Thiago H de Paula Figueiredo: On Mon, 22 Dec 2014 13:25:09 -0200, D.R.

Re: view http response

2014-12-22 Thread Kalle Korhonen
You could easily write a Tapestry or even a standard servlet filter to buffer the response and print it out before sending. I think Tapestry archetype still comes with a sample timer filter, instead you'd just print out the content. Kalle On Mon, Dec 22, 2014 at 8:11 PM, D.R.