Andreas Hartmann wrote:
>
> Hi Frank,
> just for my understanding: You are caching personalized pages? I guess
> I'm missing something, but from a naive point of view, it looks like this:
>
> * User A requests an expired page. The name A is inserted, and this
> version is cached.
> * Now user B requests the same page. The cached version, including the
> name A, is delivered. So B retrieves a page containing A's name.
>
> If you cache personalized pages, you have to make sure that the person
> (or session) identifier is included in the cache key. In most cases this
> renders the caching useless, though, because of an explosion of the key
> space and a reduction of cache key collisions.
>
> Using the directive "CacheIgnoreHeaders Set-Cookie" you avoid that the
> jsessionid cookie is ever sent to the client as part of a cached page,
> so the session is lost immediately. Actually this makes perfect sense in
> a cached, non-personalized environment (I use the same setting), but you
> can't combine this directive with (servlet session based) personalization.
>
> Would you mind giving some more information on how you want to achieve
> the combination of caching and personalization using the servlet
> session? TIA!
>
> Andreas Hartmann, CTO
> BeCompany GmbH
> http://www.becompany.ch
> Tel.: +41 (0) 43 818 57 01
>
>
Thaks Thor and Andreas,
The problem is sure from cache, if desactive cache, all its Ok.
Now We try to put the meta tag,
<META Http-Equiv="Cache-Control" Content="no-cache"
/>
<META Http-Equiv="Pragma" Content="no-cache" />
<META Http-Equiv="Expires" Content="0" />
only if there is a user in cocoon enviroment session. With this we sure that
the page specialized are not caching.
But Maybe a register user recived a cache page without his correct user
cookie. Maybe we need that when a register user is detected, cache not work
for his request. But we not idea how to do that.
In other hand, we detected that the perfermance without cache is good too.
Temporary this is our solution.
Any idea to solve that problem.
TIA.
--
View this message in context:
http://www.nabble.com/web.xml-in-ProxyPass-tp23096663p23385836.html
Sent from the Lenya - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]