What I do to force a refresh in ms-ie: change the src-uri of the image every
time the html is served: add a timestamp-generated nr to the uri like this:
    <img src="photo.jpg?nr=34292385765"/>

next time the html is requested make sure the nr-value is different:
    <img src="photo.jpg?nr=34292385798"/>

You can do this server side, or with javascript client side.
Don't do this in a production situation unless you really have to...

Greetings,

Jelle

-----Original Message-----
From: Conal Tuohy
To: [EMAIL PROTECTED]
Sent: 4-11-2003 23:30
Subject: RE: problem with caching of jpegs by Internet Explorer 

You could test for access by IE using the browser selector, and serve
them the file with an explicit expiry in the pipeline:

<map:parameter name="expires" value="access plus 5 minutes"/>

Cheers

Con

> -----Original Message-----
> From: jim basilakis [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 5 November 2003 11:20 a.m.
> To: [EMAIL PROTECTED]
> Subject: re: problem with caching of jpegs by Internet Explorer 
> 
> 
> Hi,
> 
> I have been creating a web site with Cocoon 2.1.2 that 
> dynamically generates
> jpeg/png images.
> 
> The problem is that when the site is viewed by Internet 
> Explorer, old cached
> images are view and the jpegs/png images do not refresh despite being
> modified from the last access to the site. This can be fixed 
> on the client
> side by selecting on the browser 'Internet Options -> 
> Settings -> Check for
> newer version of stored pages' and changing the setting to 
> 'Every visit to
> the page' instead of 'Automatically' but this is not a good 
> solution if
> others wish to view the page.
> 
> Is there anything I can do in Cocoon to make sure that changes to the
> jpegs/pngs are shown whenever the site is accessed?
> 
> Thanks in advance,
> Jim
> 
> 
> 
> ---------------------------------------------------------------------
> 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]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to