cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Mahe <vincent.m...@voila.fr>
Subject Re: Re: HTTP 304 (Not Modified) returned when using <map:read ...> with
Date Fri, 12 Mar 2004 13:05:43 GMT

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


Mime
View raw message