332 posts
  • 8 Years of Membership
  • Collector Level 4
  • United States
timmylogue
says

I’ve search and nothing seems to work at all. I need the best way to disabling .swf flash caching.

Is there something I can do inside the project file? .htaccess?...

Thanks Tim

1744 posts Building the Web.
  • Top Monthly Author
  • Trendsetter
  • Weekly Top Seller
  • Beta Tester
+10 more
ZoomIt
says

1 – no cache header

header( ‘Expires: Sat, 26 Jul 1997 05:00:00 GMT ’ ); header( ‘Last-Modified: ’ . gmdate( ‘D, d M Y H :i:s’ ) . ’ GMT ’ ); header( ‘Cache-Control: no-store, no-cache, must-revalidate’ ); header( ‘Cache-Control: post-check=0, pre-check=0’, false ); header( ‘Pragma: no-cache’ );

2 – web developer bar in Firefox

https://addons.mozilla.org/en-US/firefox/addon/web-developer/

3 – cache buster

http://swflocation.com/my.swf?cachebuster=5329052

replace 5329052 with a generated random number

332 posts
  • 8 Years of Membership
  • Collector Level 4
  • United States
timmylogue
says

Thank you Zoom! I’ll give it a try.

8586 posts Community Moderator
  • United Kingdom
  • 7 Years of Membership
  • Moderator
  • Winner
+10 more
MSFX
Moderator
says
ZoomIt said

3 – cache buster

http://swflocation.com/my.swf?cachebuster=5329052 replace 5329052 with a generated random number

+1

To disable the cache on any url request just add either the date / time or a random number to the url string and the cache will be broken, easy :)

by
by
by
by
by
by