321 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

1699 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
+8 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

321 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.

8377 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 :)

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by