There should not be any problems with the Cache component if one uses
cookies, right?
Problem is that sometimes I see a jsessionid=xxx even though I use cookies.
Do anyone know why?

On 11/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Wow!
> >
> > This is a really powerful component!
> > Simple and powerful.
>
> Well, thanks but you have to take care when using it.
>
> For instance, you'll run into problems if you want to support sessions
> with url-rewriting (instead of cookies)
> and you also want to cache html content that contains direct - page - external
> links,
> because the JSESSIONID parameter of every link will also be cached - and
> returned to
> every user!
>
> I'm sure there's a way to create a smarter version of the cache which will 
> take
> into account
> these issues and regenerate (only) the links every time it's used, but I'll 
> have
> to investigate more
> on this.
>
> If someone has done this before and wants to extend and/or contribute to this
> component, he's
> more than wellcome to do so :)
>
>
> > I think it should be part of the Tapestry Framework.
> >
> >
> > On 11/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > > I also needed to cache parts of some pages, and so I created the cache
> > component of
> > > TapFX ( tapfx.sf.net) which uses EhCache. I use this component a lot in my
> > own apps.
> > >
> > > However, the latest version for Tapestry 3 contains a bug (so instead get
> > v0.30)
> > > and the update for Tapestry beta-13 has broken the Tapestry 4 version :)
> > >
> > > I have fixed both in the CVS so, expect a new release later today or
> > tomorrow
> > > morning!
> > >
> > > The idea is that you surround the content to be cached with a <span
> > > jwcid="@Cache" key="report1">
> > > and then you define the report1 cache in the ehcache.xml configuration
> > file. The
> > > cache component
> > > also has public static methods for clearing or quering a cache. Finally
> > take a
> > > look at this FAQ:
> > > http://tapfx.sourceforge.net/multiproject/tapfx-components/faq.html
> > >
> > > Hope this helps...
> > >
> > >
> > > From Patrick Casey <[EMAIL PROTECTED]>:
> > >
> > > >
> > > >
> > > >             I've got a couple of pages that change very rarely, but are
> > > > rather expensive to generate (lots of conditional logic, db lookups,
> > etc).
> > > > I'd like to have tapestry generate them once, capture the output, and
> > then
> > > > either serve them as static pages, or at least serve them out of
> > internal
> > > > cache rather than going through the whole render cycle over again.
> > > >
> > > >
> > > >
> > > >             What's the best way to go about doing this in a Tapestry
> > > > friendly fashion?
> > > >
> > > >
> > > >
> > > >             --- Pat
> > > >
> > > >
> > >
> > >
> > > --
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > /ted
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
>
> --
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
/ted

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

Reply via email to