hi I am Tamil Maran.G and am stated my career in zope recently. I am having one problem in ZOPE(DTML). problem is: --------------- I am having one object called "Course" and i am adding image as an object (by using manage_addImage) in Course object. this is working fine. but when i take the same object and deleting the existing image object(by using manage_delImage) and adding a new image object, the new image is not displayed when i refresh the form still it is showing the old image. pls let me know if you find any solution. thanks and regards tamil maran.g
tamilg writes:
I am having one object called "Course" and i am adding image as an object (by using manage_addImage) in Course object. this is working fine. but when i take the same object and deleting the existing image object(by using manage_delImage) and adding a new image object, the new image is not displayed when i refresh the form still it is showing the old image. pls let me know if you find any solution. This is not a Zope problem but a caching problem:
Your browser (or maybe a proxy in between) has cached the image. When it needs the image later again, it fetches it from the cache. With many browsers, you can use "shift-reload" to force the browser to refetch the image from the server. You will see, it is the new image. What can you do? * configure your browser to always check freshness of the image * configure Zope to send "Expires" headers for images Dieter
On Sun, Jan 06, 2002 at 07:51:45PM +0100, Dieter Maurer wrote:
What can you do?
* configure your browser to always check freshness of the image
* configure Zope to send "Expires" headers for images
Or: * use a new ID for a new image -- paul winkler home: http://www.slinkp.com music: http://www.reacharms.com calendars: http://www.calendargalaxy.com
participants (3)
-
Dieter Maurer -
Paul Winkler -
tamilg