|
Posted by Rik on 12/21/06 16:15
Werner Elflein wrote:
>> Hallo,
>>
>> eine Frage zum Thema Browser-Caching.
>>
>> Ich mchte Bilder vor unberechtigtem Zugriff schtzen. Hierzu habe
>> ich vor, diese auf der XHTML-Seite als Hintergrund unter einem
>> transparanten Bild gleicher Gre zu verstecken. Das wre m. E.
>> einigermaen effizient, WENN es gleichzeitig gelnge, das Ablegen des
>> Bildes im Browsercache zu unterbinden.
>>
>> Kennt jemand von euch eine Methode, die dies simultan fr ALLE
>> Browser bewerkstelligt?
>>
>> Viele Gre
>> Werner
>
> Sorry, I forgot that this is not a German newsgroup. ;-)
>
> Again in English:
> How can I avoid that pictures are cached by the browser?
> The pictures should be displayed as background behind a transparent
> picture. If think, this makes sense, if the picture is not available
> on the client's disk.
Browser caching is a beast not easily tackled. You can hint all you want to
browsers, but a lot of them still make their own decision, sometimes
undesired.
Best way to avoid caching I found was to add a 'random' GET string after
it, which will effectively make the browser think it's a different image
(works for js too btw), and it will recollect it.
--
Rik Wasmus
Navigation:
[Reply to this message]
|