incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tommaso Teofili <tommaso.teof...@gmail.com>
Subject Re: IE Cache problem with repeating Ajax Requests
Date Thu, 28 Oct 2010 14:09:27 GMT
2010/10/28 Reto Bachmann-Gmuer <reto.bachmann@trialox.org>

> Thanks for implementing this!
>
> I'd suggest to be a tiny bit more restrictive and not to modify the headers
> even when a Last-Modified or an ETag header is present.
>

+1 it'd be fair to consider such HTTP headers too.
Tommaso


>
> CHeers,
> reto
>
> On Thu, Oct 28, 2010 at 3:42 PM, Manuel Innerhofer <manuel@trialox.org
> >wrote:
>
> > Hi Reto,
> >
> > in the CLEREZZA-344 in add a default cache-control header to the response
> > if
> > none is set. I was not sure what you meant with "serializer", I hope
> > interpreted you correctly. Please review it.
> >
> > Regards,
> > Manuel
> >
> > On Thu, Oct 28, 2010 at 2:39 PM, Reto Bachmann-Gmuer <
> > reto.bachmann@trialox.org> wrote:
> >
> > > Hi Tsuy
> > >
> > > Why do you think the headers hould only be added for IE? No Browser
> > should
> > > cache those responses. It can be done via means of jax-rs in the
> > individual
> > > root resource or typerenderer. Or maybe it should be the serializer to
> > add
> > > some reasonable (and configurable) defaults if this hasn't explicitely
> > been
> > > explicitely set by the Handler.
> > >
> > > Cheers,
> > > reto
> > >
> > >
> > > On Thu, Oct 28, 2010 at 11:20 AM, Tsuyoshi Ito <tsuy.ito@trialox.org>
> > > wrote:
> > >
> > > > Hi Reto
> > > >
> > > > I have tested our apps in IE and found out that requests are cached.
> > > > Especially ajax requests which returns JSON or RDF/JSON lead to
> > > > problems because the pages are not rendered correcty. What is an easy
> > > > way to set the request headers "Cache-Control":"no-cache" and
> > > > "Expires":"0" for html, json and rdf/json for IE in apache clerezza.
> > > >
> > > > Or are there any better solution than changing header for requests
> with
> > > IE?
> > > >
> > > > Thanks
> > > >
> > > > Cheers
> > > > TSuy
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message