sysadmin42
Technical User
- May 6, 2005
- 138
I have a flash program that loads a directory listing (specifically for playing music) that a user can click on. My problem is, if the files in the directory change, the only way I can get that listing to refresh is by manually clearing the cached files. Most users have no idea how to do that manually.
How can I get the SWF to keep from caching? I've tried the following:
Any ideas?
How can I get the SWF to keep from caching? I've tried the following:
Code:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-store, must-revalidate, max-age=5">
<META HTTP-EQUIV="Expires" CONTENT="Fri, 26 Mar 2004 01:40:42 GMT"> <!-- also Expires: -1 -->
---- and/or ----
header("Expires: 0"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("cache-control: no-store, no-cache, must-revalidate"); header("Pragma: no-cache");
Any ideas?