This is really strange. If someone can help me sort out if this is a bug of a stupid user trick I would appreciate it. There's the deal Created a directory called 'Images' Created 'Logo' as an Image. Imported 'PictureA'
From the root, edited Index_html to pull up 'Logo'.
Images pulled properly, but looks crappy. Go back to Images. Upload 'PictureB' to 'Logo' Reloaded root Index_html ... hmmm 'PictureA' shows up ...huh? Recheck 'Logo', looks okay. 'View' from within 'Logo', 'PictureB' looks great. Mabey another resource called 'Logo'? Yep. ... in another path ... shouldn't get picked up on, but for testing renamed to 'LogoOld' Retested root Index_html .... 'PictureA' still shows up. Recheck code in Index_html ... change 'Logo' call to <dtml-with Images> <dtml-var Logo> </dtml-with> Retest Index-html. 'PictureA' still shows up. Go back to 'Images' Rename Logo to LogoOld Create a new Logo with 'PictureB' 'View' picture from within new Logo. Looks good. Retest index_html ... 'PictureA' still showing up. Pick up computer pieces off floow after knocking table leg out from under PC. ... rebuild computer before resuming tests on said computer .... hmmm... same problem. Assume browser chache is causing the problem. Stop/restart browser, retest main page. Hello 'PictureA' Take deep breath. In images, create 'Logo2' with 'PictureB'. Test .. okay Change root Index_html to call Logo2. HEY IT WORKS!!!!! Changed back to Logo. STILL wrong picture in Index_html. Nuked Logo and LogoOld. Index_html should not work ... good it didn't. Recreated Logo from scratch. View test works great Retried Index_html STILL WRONG PICTURE!!!! Just tossed computer from 32nd floor, I'm sure it wont take long for the cable to th
At 23:07 19-11-99 , rgines@purina.com wrote:
Assume browser chache is causing the problem. Stop/restart browser, retest main page. Hello 'PictureA'
It is your browser cache. Manually flush it (go to options, press the appropriate flush buttons). Restarting is not enough. Browsers are very aggressive in cacheing images, especially Netscape. -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | T: +31 35 7502100 F: +31 35 7502111 | mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ---------------------------------------------
If you tell your browser cache to validate with the server on every request (this option is available in Netscape, I don't know about IE), it will at least send an if-modified-since request for evey object. This does little good when editing the same object multiple times a day. I finally just stuck a hack in the ZServer that sends pragma: no-cache and Cache-Control: no-cache on every object. When I publish the site, I remove the hack. We should probably hack ETag support into zope, so that if-modified-since requests are handled properly on the more recent browsers. --sam Martijn Pieters wrote:
At 23:07 19-11-99 , rgines@purina.com wrote:
Assume browser chache is causing the problem. Stop/restart browser, retest main page. Hello 'PictureA'
It is your browser cache. Manually flush it (go to options, press the appropriate flush buttons). Restarting is not enough.
Browsers are very aggressive in cacheing images, especially Netscape.
-- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | T: +31 35 7502100 F: +31 35 7502111 | mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ---------------------------------------------
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
rgines@purina.com wrote: [problems with pictures, browser caches and falling computers snipped] I can't give you an answer to this sequence of events, but I recall going to similar contortions, images magically persisting even though I changed everything around and flushed the browser cache and such. I forget what finally worked; I believe quitting and starting the browser was instrumental, though (though I'm not even sure *that* worked at once). I was told that browsers tend to retain images outside the official browser cache at some time (the cache which you can clear in the preferences of Netscape, for instance). Seems like you were bitten by this problem in some way.. Regards, Martijn
participants (4)
-
Martijn Faassen -
Martijn Pieters -
rgines@purina.com -
Sam Gendler