# Why does a preloader take as long to load 2nd time around

**URL:** <https://forum.kirupa.com/t/why-does-a-preloader-take-as-long-to-load-2nd-time-around/202383>\
**Category:** Uncategorized\
**Created:** [September 30, 2006, 1:23pm UTC](https://forum.kirupa.com/t/why-does-a-preloader-take-as-long-to-load-2nd-time-around/202383 "2006-09-30T13:23:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jclement14](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jclement14/32/2406_2.png) [@jclement14](https://forum.kirupa.com/u/jclement14)\
**Post date:** [September 30, 2006, 1:23pm UTC](https://forum.kirupa.com/t/why-does-a-preloader-take-as-long-to-load-2nd-time-around/202383/1 "2006-09-30T13:23:32Z")

</div>

I’ve created a flash site ([http://www.chrisdye.co.uk/home2](http://www.chrisdye.co.uk/home2)) with links to swfs in seperate html pages, but when i go back to a page that has already loaded once i.e. the homepage, the preloader takes just as long to load the second time. I thought it should be quicker the second time round as it is stored in the computers cache?

I found a similar post ‘only load preloader once’ but didn’t really understand the solution:

[COLOR=RoyalBlue]assign a variable to check if something is loaded already. For example[/COLOR]

[COLOR=RoyalBlue] var clicked = false;

button.OnRelease = function() {  
if(clicked){  
//do nothing  
}  
else{  
//load preloader.  
//do other stuff.  
[/COLOR] [COLOR=RoyalBlue]var clicked = true;  
}  
}  
[/COLOR]  
How is this different from the preloader AS ‘if bytes loaded’ Could anyone shed some light on what to do please…
