# Prevent SWF Caching

**URL:** https://forum.kirupa.com/t/prevent-swf-caching/199437
**Category:** web dev
**Created:** [September 2, 2006, 1:31pm UTC](https://forum.kirupa.com/t/prevent-swf-caching/199437 "2006-09-02T13:31:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![dewey](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@dewey](https://forum.kirupa.com/u/dewey)
#### Post date: [September 2, 2006, 1:31pm UTC](https://forum.kirupa.com/t/prevent-swf-caching/199437/1 "2006-09-02T13:31:34Z")

</div>

Hey Guys,

I posted this in the Actionscript forum and they said it wasn’t possible, but I am hoping some of you might be able to prove them wrong… here is my post:

Is it possible for me to have my SWF files NOT be cached by browsers? The reason being is that my main navigation system is set up in Flash, but it doesn’t seem to load the “newer” versions unless I clear my cache first (when viewing in Tomcat anyways…)

If you could let me know it would be a great help… thanks!

Added: The site will be going “Live” in a few weeks and this is a major feature of the site. Especially when we start up because we will be continually adding new areas to the site which will only be accessible through the navigation menu I created in flash. If the users cannot be assured of always getting the newest SWF Menu, then certain sections of the site may never be visited.

Thanks,

–D

---

<div class="post-metadata">

### Author: ![ThePuzzleMaster](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/thepuzzlemaster/32/972_2.png) [@ThePuzzleMaster](https://forum.kirupa.com/u/ThePuzzleMaster)
#### Post date: [October 24, 2006, 3:48am UTC](https://forum.kirupa.com/t/prevent-swf-caching/199437/2 "2006-10-24T03:48:20Z")

</div>

Can someone please explain to me what that question mark does in that random statement?

thanks

---

<div class="post-metadata">

### Author: ![evildrummer](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/evildrummer/32/2308_2.png) [@evildrummer](https://forum.kirupa.com/u/evildrummer)
#### Post date: [October 24, 2006, 9:17am UTC](https://forum.kirupa.com/t/prevent-swf-caching/199437/3 "2006-10-24T09:17:25Z")

</div>

the question mark after the .swf declares that the next bunch of stuff are variables, its normally used in php for searches such as [www.searcher.com/results.php?searchterm=Test+Search](http://www.searcher.com/results.php?searchterm=Test+Search)

---

<div class="post-metadata">

### Author: ![ThePuzzleMaster](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/thepuzzlemaster/32/972_2.png) [@ThePuzzleMaster](https://forum.kirupa.com/u/ThePuzzleMaster)
#### Post date: [October 25, 2006, 7:56am UTC](https://forum.kirupa.com/t/prevent-swf-caching/199437/4 "2006-10-25T07:56:12Z")

</div>

Oh, I think that makes sense. Pretty clever. thanks for the idea, and the explanation. I appreciate it!
