315 posts
  • Bought between 100 and 499 items
  • Has been a member for 7-8 years
  • 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

1572 posts Building the Web.
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Exclusive Author
  • Author had a File in an Envato Bundle
  • Most Wanted Bounty Winner
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
+2 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

315 posts
  • Bought between 100 and 499 items
  • Has been a member for 7-8 years
  • United States
timmylogue says

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

8116 posts Community Moderator
  • Attended a Community Meetup
  • Community Moderator
  • Has been a member for 6-7 years
  • United Kingdom
  • Contributed a Tutorial to a Tuts+ Site
  • Won a Competition
  • Contributed a Blog Post
  • Beta Tester
  • Bought between 50 and 99 items
+4 more
MSFX Volunteer 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