332 posts
  • Has been part of the Envato Community for over 8 years
  • Has collected 100+ items on Envato Market
  • Located in 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

1738 posts Building the Web.
  • Became a Top 20 Author of the Month
  • Had an item that was trending
  • Had an item that became a weekly top seller
  • Has been a beta tester for an Envato feature
+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
  • Has been part of the Envato Community for over 8 years
  • Has collected 100+ items on Envato Market
  • Located in United States
timmylogue
says

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

8576 posts Community Moderator
  • Located in United Kingdom
  • Has been part of the Envato Community for over 7 years
  • Helps us moderate the forums
  • Won a competition
+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