320 posts
  • Has been part of the Envato Community for over 7 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

1646 posts Building the Web.
  • Has been a beta tester for an Envato feature
  • Sells items exclusively on Envato Market
  • Has sold $250,000+ on Envato Market
  • Had an item featured on Envato Market
+7 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

320 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United States
timmylogue says

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

8269 posts Community Moderator
  • Has referred 10+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Attended one of our Meetups around the world
+9 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