cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject RE: [C2] Don't cache. Please!
Date Mon, 04 Jun 2001 15:21:18 GMT
On Mon, 4 Jun 2001, Morrison, John wrote:

Have a look at the sample xsp page. It shows a date and every hit on
that page will show you a new date so it couldn't be cached at all.

Giacomo

> Oh.  I tried something along the lines of:
>
> <xsp:page
>   language="java"
>   xmlns:xsp="http://apache.org/xsp">
>
>   <sample>
>     <xsp:logic>
>       String area = request.getParameter("area");
>       if(area == null)
>         area = "";
>       else
>         area = area + "/";
>     <area><xsp:expr>area</xsp:expr></area>
>     </xsp:logic>
>   </sample>
> </xsp:page>
>
> And it appeared to be caching.  I'll return and investigate more later.  Is
> there an easy way to get at request parameters in the sitemap?
>
> J.
>
> > -----Original Message-----
> > From: giacomo [mailto:giacomo@apache.org]
> > Sent: 04 June 2001 2:02 pm
> > To: 'cocoon-dev@xml.apache.org'
> > Subject: Re: [C2] Don't cache. Please!
> >
> >
> > On Mon, 4 Jun 2001, Morrison, John wrote:
> >
> > > Hi all,
> > >
> > > How do I *stop* C2 from caching a (for example) xsp page?
> >
> > XSP pages are by default not cached.
> >
> > Giacomo
> >
> > >
> > > Thanks,
> > >
> > > J.
> > >
> > >
> > >
> > ==============================================================
> > =========
> > > Information in this email and any attachments are
> > confidential, and may
> > > not be copied or used by anyone other than the addressee,
> > nor disclosed
> > > to any third party without our permission.  There is no intention to
> > > create any legally binding contract or other commitment
> > through the use
> > > of this email.
> > >
> > > Experian Limited (registration number 653331).
> > > Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > > For additional commands, email: cocoon-dev-help@xml.apache.org
> > >
> > >
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message