While "no cache pragma" tags are easy to integratre into html pages, flash pages require a bit of extra code for no cache to function properly in major browsers like FireFox, Internet Explorer, Safari, Chrome, Flock, and Opera.
In order to use the no cache pragma effectively with flash, you need to create commands in both the meta tags section of your script and the code you use to embed your flash. You can acomplish this with just two sets of meta commands.
1. Add the following set of tags to your meta script between the <head> and </head> portion of your page's code:
|
<meta http-equiv="Pragma" content="no-cache"/> <meta http-equiv="cache-control" content="no-cache, no store"/> |
2. Add these tags right before the closing </html> tag in your flash embed script:
|
<head><meta http-equiv="pragma" src=index.swf content="no-cache, no store"></head> <head><meta http-equiv="expires" content="-1"></head> |
This should prevent flash web-site caching in all major browsers!