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]
