You are here: Re: Browsercaching vermeiden? « All PHP « IT news, forums, messages
Re: Browsercaching vermeiden?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация