# How to get rid of cache while loading an image?

**URL:** <https://forum.kirupa.com/t/how-to-get-rid-of-cache-while-loading-an-image/295927>\
**Category:** flash\
**Created:** [September 7, 2009, 3:13pm UTC](https://forum.kirupa.com/t/how-to-get-rid-of-cache-while-loading-an-image/295927 "2009-09-07T15:13:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nemoproblemo](https://avatars.discourse-cdn.com/v4/letter/n/e36b37/32.png) [@nemoproblemo](https://forum.kirupa.com/u/nemoproblemo)\
**Post date:** [September 7, 2009, 3:13pm UTC](https://forum.kirupa.com/t/how-to-get-rid-of-cache-while-loading-an-image/295927/1 "2009-09-07T15:13:09Z")

</div>

hey folks,  
does anyone know a good way of unloading content from loader object? I want to load a same image few times (backend overwrites old images with new ones) and all I get is bitmap data that is initialy being loaded the first time. So I guess bitmapData is stuck in cache by default and I cant get rid of it.  
I tried following:  
loader.unload()  
loader.contentLoaderInfo.content.unload() before each load() call  
setting loader object to null  
setting urlRequest.useCache to false  
naming loader instance to a unique string  
naming loading content to a unique string.

Any ideas, PLEASE?
