# Need to create a preloader that forces a reload from the server, and not the cache

**URL:** https://forum.kirupa.com/t/need-to-create-a-preloader-that-forces-a-reload-from-the-server-and-not-the-cache/287390
**Category:** flash
**Created:** [April 30, 2009, 11:33am UTC](https://forum.kirupa.com/t/need-to-create-a-preloader-that-forces-a-reload-from-the-server-and-not-the-cache/287390 "2009-04-30T11:33:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![0L4F](https://avatars.discourse-cdn.com/v4/letter/0/848f3c/32.png) [@0L4F](https://forum.kirupa.com/u/0L4F)
#### Post date: [April 30, 2009, 11:33am UTC](https://forum.kirupa.com/t/need-to-create-a-preloader-that-forces-a-reload-from-the-server-and-not-the-cache/287390/1 "2009-04-30T11:33:43Z")

</div>

Hello fellow Kirupians,

This is something I’ve been struggling with for some time, but now I urgently need to come up with a solution for a new project: I need to create a preloader that forces a reload of the Main.swf from the server, and not from the user’s cache.

This is because the site (for a big music festival) will get frequent updates, and users will visit more than once.

I have my HTML-metatags set up like this:

```auto
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
        
<meta http-equiv="Expires" content ="0" />
        
<meta http-equiv="Pragma" content ="no-cache" />

```

…but these get kind of, uhm, ignored?

So now I’m looking for a solution in my AS3 preloader.  
I’ve tried this trick, that works fine with xml-files, but with swf’s it doesn’t seem to work:

```php
l.load(new URLRequest("Main.swf" + new Date().getTime()));

```

Is there any solution out there?
