Forum Moderators: open

Message Too Old, No Replies

Trouble with no-cache in ie7

         

SarK0Y

11:25 pm on Dec 11, 2008 (gmt 0)

10+ Year Member



Good time to All, Amigos!

i wonder - have necessity to forbid saving swf and applets into cache, for it, did try following tags:
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="-1">

no one doesn't work.
-----------------------------------------
Thanks in Advance.

[edited by: SarK0Y at 11:29 pm (utc) on Dec. 11, 2008]

jdMorgan

11:47 pm on Dec 11, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



These are HTML HTTP-equivalent tags, and they go on HTML pages. You would have to put these HTML tags onto non-HTML files like swf and flv files, which is impossible -- If you did this, then those files would no longer be valid.

Instead, you need to configure your server to send the 'real' HTTP server response headers, such as Cache-Control, Expires, and Pragma. How you do this depends on your server type (e.g. Apache or IIS) and other things, such as whether you use scripts to serve your media files.

Jim

[edited by: jdMorgan at 12:08 am (utc) on Dec. 12, 2008]

SarK0Y

1:15 am on Dec 12, 2008 (gmt 0)

10+ Year Member



Thanks for reply, jdMorgan.
hmmmm... if i haven't an access to server, then what to do?

jdMorgan

2:30 am on Dec 12, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you don't use a script to serve content, and don't have any server control access, then there is nothing you can do. You need a better server.

Jim

SarK0Y

2:42 am on Dec 12, 2008 (gmt 0)

10+ Year Member



hmmm.... follow idea, cache must work so: each file on the server has hashsum, browser checks file's hashsum out before downloading it but practice doesn't use this method:( why?

jdMorgan

3:17 am on Dec 12, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Start here:

Caching Tutorial for Web Authors and Webmasters [mnot.net]

Jim

< This discussion continues in the Apache forum:
[webmasterworld.com...] >

[edited by: tedster at 6:01 pm (utc) on Dec. 13, 2008]