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: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Auftrag > von Vincent Mahe > Gesendet: Freitag, 12. M�rz 2004 14:06 > An: [EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > ------------------------------------------ > > Faites un voeu et puis Voila ! www.voila.fr > > > > --------------------------------------------------------------------- > 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]
