# Solving cache problems

**URL:** https://forum.kirupa.com/t/solving-cache-problems/35012
**Category:** Uncategorized
**Created:** [November 9, 2003, 9:28am UTC](https://forum.kirupa.com/t/solving-cache-problems/35012 "2003-11-09T09:28:10Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![emilanos](https://avatars.discourse-cdn.com/v4/letter/e/51bf81/32.png) [@emilanos](https://forum.kirupa.com/u/emilanos)
#### Post date: [November 9, 2003, 9:28am UTC](https://forum.kirupa.com/t/solving-cache-problems/35012/1 "2003-11-09T09:28:10Z")

</div>

Hi everybody,

Maybe my question has already been answered.  
I am using a unique identifier to load my main swf movie as kirupa suggested in : [http://www.kirupa.com/developer/actionscript/tricks/cache.htm](http://www.kirupa.com/developer/actionscript/tricks/cache.htm)  
my question is: do I have to put this identifier in each swf file or just in the first?.

Thanks in advance

emilanos

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [November 9, 2003, 3:01pm UTC](https://forum.kirupa.com/t/solving-cache-problems/35012/2 "2003-11-09T15:01:07Z")

</div>

All of them, (I think)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [November 9, 2003, 4:47pm UTC](https://forum.kirupa.com/t/solving-cache-problems/35012/3 "2003-11-09T16:47:19Z")

</div>

All swf’s you don’t want cached.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [November 10, 2003, 7:15pm UTC](https://forum.kirupa.com/t/solving-cache-problems/35012/4 "2003-11-10T19:15:11Z")

</div>

Hey! thank you for your answer…but two friends of mine say that they are still seeing the same page they saw a week ago. ☹  
maybe I am doing something wrong.

I have added this code for each one of my swf files (changing just the name of the swf files ):

on (release) {  
myIdentifier = Math.round(Math.random()\*10000);  
loadMovieNum(“main.swf?uniq=”+myIdentifier, 1);  
}

any help?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [November 11, 2003, 10:32am UTC](https://forum.kirupa.com/t/solving-cache-problems/35012/5 "2003-11-11T10:32:53Z")

</div>

That’s weird. You could try to use the date as an identifier. There’s a very interesting thread about this in the Best Of Kirupa forum 🙂
