cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Rolappe" <m_rola...@web.de>
Subject AW: Re: HTTP 304 (Not Modified) returned when using <map:read ...> with
Date Fri, 12 Mar 2004 18:38:58 GMT
please research the resin documentation, it's no cocoon issue. cocoon will
only send a 304 for a cached resource and if the request was conditional.

> -----Ursprüngliche Nachricht-----
> Von: users-return-64516-m_rolappe=web.de@cocoon.apache.org
> [mailto:users-return-64516-m_rolappe=web.de@cocoon.apache.org]Im Auftrag
> von Vincent Mahe
> Gesendet: Freitag, 12. März 2004 14:06
> An: users@cocoon.apache.org
> Betreff: Re: Re: HTTP 304 (Not Modified) returned when using <map:read
> ...> with
>
>
>
> It is a real problem because it sends an 304 HTTP code even if I
> connect and ask the same resource from a Terminal where it was
> never asked before. Usually this HTTP code should be sent only to
> a Browser in order to tell that it should use the resource in its cache.
>
>
> > Vincent Mahe wrote:
> >
> > >I am using Cocoon 2.1.3 on a Resin 2.1.10 server.
> > >
> > >I have problem when using <map:read to manage all the image
> files for instance.
> > >The first time the ressource is required, I have a HTTP 200
> response code.
> > >Then if I ask the same ressource twice, I have a HTTP 304
> response code.
> > >
> > >I have tried to had the <map:parameter name="expires"
> value="0"/> but it doesn't solve the problem.
> > >
> > >I don't have this problem with Tomcat. So it seems to be
> related to Resin cache.
> > >Is there anything to configure, concerning the cache mecanism ?
> > >
> > >
> > Is this code a problem? It will make your site more efficient, as the
> > image will only be sent once.
> >
> > Upayavira
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >
> ------------------------------------------
>
> Faites un voeu et puis Voila ! www.voila.fr
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


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


Mime
View raw message