PDA

View Full Version : HTMLOSD: *Thank you Ron* and one question



reiner
January 21st, 2003, 12:22 AM
Hello,

At first I want to say 'Thank you Ron' for the HTMLOSD Plugin. Just 4 weeks ago, I started to switch my OSDMenu stuff to HTMLOSD, because you have more possibilities there. And it's incredible. You can now use all that Browser stuff like CSS-Stylesheets, Javascript, png-files with opacity, DOM-Methods, DHTML and so on. It' a great plugin. :P

And now my question : When I load an external File like file1.png via the <img> tag in html, the HTMLOSD displays it without any problem. Than I'm gonna to change that external file, but the name stays the same like file1.png. After that, I reload this html-page within girder. But the plugin 'remembers' the old content of that file. :x
I only get the new content when I close girder and start it again. It tested this also directly with a browser ( Mozilla 1.2 ) and it's the same problem there. So it could be that this is more Mozilla-related as Girder-related. But perhaps anyone could help me.

Is there a way to clear this internal cache of the mozilla-engine ?

Reiner

Ron
January 21st, 2003, 01:05 AM
It indeed is the cache that is doing this. I think you can switch it off when you open the full mozilla and select the mozillacontrol profile. Start searching in that direction. If you can't find it report back.

reiner
January 24th, 2003, 01:21 AM
Hello,

I did a lot of testing around the MozillaControl Profile and Cache-Deleting.
When I load my HTML-Page in Original-Mozilla and change the content of
the image, I can tell Mozilla to clear the RAM-Cache/Disk-Cache and I get the new image-content afer pushing Reload.

This is what I wanted to have also in Girder-HTMLOSD.

So I leave Original-Mozilla running, because when you start Girder first and after that you start Original-Mozilla with Control-Profile, you get an error-message, because the profile is already used ( by Girder ).
Like I said, I left Original-Mozilla running and started Girder after that.
All of the HTMLOSD Pages were correct on the screen, but Cache Deleting didn't worked in Girder. It worked directly in Original-Mozilla with Control-Profile, but the cache in Girder stayed the same and was not deleted. :cry:

Any ideas for a possible solution ?

Reiner

Ron
January 24th, 2003, 01:50 AM
Try to find the prefs.js file for the Mozilla ActiveX control if you enter this in there:



pref&#40;"browser.cache.enable", false&#41;; // see also network.http.use-cache
pref&#40;"browser.cache.disk.enable", false&#41;;
pref&#40;"browser.cache.memory.enable", false&#41;;
// 0 = once-per-session, 1 = each-time, 2 = never, 3 = when-appropriate/automatically
pref&#40;"browser.cache.check_doc_frequency", 1&#41;;
pref&#40;"network.http.use-cache", false&#41;;