Hi All
We have managed to resolve the URL issue using the LinkCreationHubinterface.
Instead of build method, we need to have a decorator method for
LinkCreationHub. I have observed that LinkCreationHub is created by
TapestryModule, hence we just need to have a decorator method to add our
listener
Hi Martin
We did try setting the cache headers but it didnt work. Moreover this
application works fine when accessed directly. The problem comes only when
the application is accessed via proxy server. Thats the reason i have
suspected the URL.
We did a workaround at proxy server setting level so
Hi Felix
Even in our application which is built using Tapestry 5, we are facing the
same issue. This problem occurs when we access our app via a proxy server.
we tried setting appropriate cache-headers but still no luck. Even am
looking out for a way to change all url's to have a dynamic value but
Added the below method to AppModule.java
public LinkCreationListener buildLinkCreationListener(
LinkCreationHub hub) {
LinkCreationListener listener = new
MyLinkCreationListenerImpl();
hub.addListener(listener);
return l
Added the below method to AppModule.java
public LinkCreationListener buildLinkCreationListener(
LinkCreationHub hub) {
LinkCreationListener listener = new
MyLinkCreationListenerImpl();
hub.addListener(listener);
return liste
Thanks Rich.
I also got the option what Thiago has suggested. I have created a method
call buildLinkListener which takes LinkCreationHub as argument and returns a
LinkCreationListener object. One thing still am clueless is how to integrate
this in app module so that this method gets invoked for al
Hi Rich
Thanks. I understood the implementation of listener but i was looking at a
way to integrate it so that all URL's in app gets modified. I understand
that in app module we can plugin any service. Assume i have a impl class
implementing the listener interface, how will i integrate it into exi
Hi Thiago
Thanks again for your response.
Will definitely try using LinkCreationListener/LinkCreationHub . Is it
something which needs to be integrated in AppModule. I am relatively very
new to Tapestry. Would really appreciate if you can provide a sample
implementation for LinkCreationListener.
Hi Thiago
Thanks for the response. I checked the blog but it talks only about incoming
url. What about the redirect url's. Do we have a control over it. I observed
that because of the redirect after post patten in tapestry, i see that for a
simple action request there are two requests to the serve
Hi All
we have checked the proxy logs and issue seems to be because of the presence
of proxy server. Proxy server caches the url. As we dont have the search
criteria in the url, the same url is getting passed. We modified few
settings in proxy server so that our app url doesnt get cached. It worke
Yes Josh.
Thats the only option we are trusting upon because setting "no-cache"
related option in header doesnt seems to be working.
Thanks
Sundar
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry-5-cache-issue-when-accessed-via-proxy-tp3388994p3396707.html
Sent
Hi Pablo
Appreciate your response.
We tried the option you mentioned but strangely still seeing the problem. We
are still exploring other options.
thanks
Sundar
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry-5-cache-issue-when-accessed-via-proxy-tp3388994p339
Hi Richard
Thanks for your response. I dont really suspect the database part here
because it works fine without proxy server. I will take a look at the
server/proxy logs. That should give some hint.
Will keep you guys updated.
Thanks
Sundar
--
View this message in context:
http://tapestry.10
Hi Josh
Thanks for your response. You're right. We dont have the search parameter in
the URL but wondering how does it work in a scenario where there no proxy
server. I have seen an option disableCaching. If i enable that, will it
work.
Considering the option you mentioned, am guessing if we ca
Hello All
We have developed a web application using Tapestry 5. We are facing a
caching issue when we try to access the application via a proxy. When we
access the application directly i.e without going via a proxy server,
everything is working fine.
when we access via proxy we are seeing this
15 matches
Mail list logo