Microsoft Windows Vista Community Forums - Vistaheads
Recommended Download



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Driver Scanner

can't prevent a flash file from being cached

microsoft.public.internetexplorer.general






Speedup My PC
Reply
  #1 (permalink)  
Old 11-17-2009
d.in.oz
 

Posts: n/a
can't prevent a flash file from being cached
I've spent the whole day trying to get IE8 to reload a page to display
dynamic content in a flash slide-show. nothing I've tried prevents the page
from being refreshed from the cache. all the other browsers I've tried are
working properly (firefox, chrome, opera and safari).

here are some of the things I've tried

in the page <head>
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="Expires" content="Thu, 01 Jan 2009 08:00:00 GMT" />

in my .htaccess file (for my local apache server)
<Files ~ "\.swf$">
Header append Cache-Control "no-cache, no-store, max-age=1, must-revalidate"
</Files>

I've tried appending a random number to a link (not too sure this one is
even syntatically correct)
<param name="movie" value="./images/flash/vfpg.swf?rand=12" />


none of these (or anything else I've tried) make any difference. ie8 always
loads the swf from cache. of course, if I delete the cache and then reload
the page, the changes are picked up. not really a practical solution.

any other suggestions would be greatly appreciated.

this is the actual html I'm using to display the file

<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="700" height="450">
<param name="movie" value="./images/flash/vfpg.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="./images/flash/vfpg.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="700" height="450"
wmode="transparent"></embed>
</object>

thanks

Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-17-2009
rob^_^
 

Posts: n/a
Re: can't prevent a flash file from being cached
Hi,

A Guess?

You have the Flash ActiveX control disabled in the IE Addons Manager or you
are running in no-Addons mode?

You are in a IE Security Zone that does not allow ActiveX?

Your flash privacy settings? (IE is treating your flash cookies
differently?)

Regards.

"d.in.oz" <d.in.oz@discussions.microsoft.com> wrote in message
news:EC72FF23-6D5D-493B-A926-97CAF183BA59@microsoft.com...
> I've spent the whole day trying to get IE8 to reload a page to display
> dynamic content in a flash slide-show. nothing I've tried prevents the
> page
> from being refreshed from the cache. all the other browsers I've tried
> are
> working properly (firefox, chrome, opera and safari).
>
> here are some of the things I've tried
>
> in the page <head>
> <meta http-equiv="cache-control" content="no-cache"/>
> <meta http-equiv="Expires" content="Thu, 01 Jan 2009 08:00:00 GMT" />
>
> in my .htaccess file (for my local apache server)
> <Files ~ "\.swf$">
> Header append Cache-Control "no-cache, no-store, max-age=1,
> must-revalidate"
> </Files>
>
> I've tried appending a random number to a link (not too sure this one is
> even syntatically correct)
> <param name="movie" value="./images/flash/vfpg.swf?rand=12" />
>
>
> none of these (or anything else I've tried) make any difference. ie8
> always
> loads the swf from cache. of course, if I delete the cache and then
> reload
> the page, the changes are picked up. not really a practical solution.
>
> any other suggestions would be greatly appreciated.
>
> this is the actual html I'm using to display the file
>
> <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
> codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
> width="700" height="450">
> <param name="movie" value="./images/flash/vfpg.swf" />
> <param name="quality" value="high" />
> <param name="wmode" value="transparent" />
> <embed src="./images/flash/vfpg.swf" quality="high"
> pluginspage="http://www.macromedia.com/go/getflashplayer"
> type="application/x-shockwave-flash" width="700" height="450"
> wmode="transparent"></embed>
> </object>
>
> thanks
>
>

Reply With Quote
  #3 (permalink)  
Old 11-17-2009
Dan
 

Posts: n/a
Re: can't prevent a flash file from being cached

"d.in.oz" <d.in.oz@discussions.microsoft.com> wrote in message
news:EC72FF23-6D5D-493B-A926-97CAF183BA59@microsoft.com...
> I've spent the whole day trying to get IE8 to reload a page to display
> dynamic content in a flash slide-show. nothing I've tried prevents the
> page
> from being refreshed from the cache. all the other browsers I've tried
> are
> working properly (firefox, chrome, opera and safari).
>
> here are some of the things I've tried
>
> in the page <head>
> <meta http-equiv="cache-control" content="no-cache"/>
> <meta http-equiv="Expires" content="Thu, 01 Jan 2009 08:00:00 GMT" />


This will only affect the HTML container, not the embedded swf files.

> in my .htaccess file (for my local apache server)
> <Files ~ "\.swf$">
> Header append Cache-Control "no-cache, no-store, max-age=1,
> must-revalidate"
> </Files>


Have you verified with a HTTP sniffer (eg. Fiddler2) that the header is
being added to the response for the swf files?

> I've tried appending a random number to a link (not too sure this one is
> even syntatically correct)
> <param name="movie" value="./images/flash/vfpg.swf?rand=12" />


Did you also change the src value in the embed tag? If IE8 is ignoring the
object and instead using the embed section then changing only the above will
have no effect on IE8's handling.


> none of these (or anything else I've tried) make any difference. ie8
> always
> loads the swf from cache. of course, if I delete the cache and then
> reload
> the page, the changes are picked up. not really a practical solution.
>
> any other suggestions would be greatly appreciated.


I think the random number in the URL to the file is the way to go, but as I
pointed out above if you didn't change the src value in the embed tag that's
most likely why it didn't work.

--
Dan


Reply With Quote
  #4 (permalink)  
Old 11-17-2009
PA Bear [MS MVP]
 

Posts: n/a
Re: can't prevent a flash file from being cached
What Rob said. Also see...

[HOW TO] Configure your Flash Player's Global and Website settings
http://www.dozleng.com/updates/index...howtopic=15065


d.in.oz wrote:
> I've spent the whole day trying to get IE8 to reload a page to display
> dynamic content in a flash slide-show. nothing I've tried prevents the
> page
> from being refreshed from the cache. all the other browsers I've tried
> are
> working properly (firefox, chrome, opera and safari).
>
> here are some of the things I've tried
>
> in the page <head>
> <meta http-equiv="cache-control" content="no-cache"/>
> <meta http-equiv="Expires" content="Thu, 01 Jan 2009 08:00:00 GMT" />
>
> in my .htaccess file (for my local apache server)
> <Files ~ "\.swf$">
> Header append Cache-Control "no-cache, no-store, max-age=1,
> must-revalidate" </Files>
>
> I've tried appending a random number to a link (not too sure this one is
> even syntatically correct)
> <param name="movie" value="./images/flash/vfpg.swf?rand=12" />
>
>
> none of these (or anything else I've tried) make any difference. ie8
> always
> loads the swf from cache. of course, if I delete the cache and then
> reload
> the page, the changes are picked up. not really a practical solution.
>
> any other suggestions would be greatly appreciated.
>
> this is the actual html I'm using to display the file
>
> <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
> codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
> width="700" height="450"> <param name="movie"
> value="./images/flash/vfpg.swf" /> <param name="quality" value="high" />
> <param name="wmode" value="transparent" />
> <embed src="./images/flash/vfpg.swf" quality="high"
> pluginspage="http://www.macromedia.com/go/getflashplayer"
> type="application/x-shockwave-flash" width="700" height="450"
> wmode="transparent"></embed>
> </object>
>
> thanks


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Emergency: i need to retrive a IE7 cached file perthmetro microsoft.public.windows.vista.general 4 07-20-2008 17:22
Prevent UAC screen flash Jason microsoft.public.windows.vista.administration accounts passwords 0 03-24-2008 05:52
when is the page file cached? b11_ microsoft.public.windows.vista.general 1 02-23-2008 20:16
Seagate Launches Flash-Cached Notebook Drives BlogFeed Windows Vista Blogs Forum 0 10-11-2007 03:00
Cached pictures/flash animations/videos etc - where? chuckles_the_scary_clown@budweiser.com microsoft.public.windows.vista.general 5 09-20-2007 16:57




All times are GMT +1. The time now is 08:51.




Driver Scanner - Free Scan Now

Vistaheads.com is part of the Heads Network. See also XPHeads.com , Win7Heads.com and Win8Heads.com.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 RC 2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120