Skip to main content
MathAdor
Participating Frequently
February 1, 2012
Question

Firefox - Browser Cache - Viewing Most updated Website

  • February 1, 2012
  • 1 reply
  • 517 views

Hi All

      I believe the problem i have is related to BROWSER CACHE ISSUE.

      in my website i read images using UI loader from folders on server. In FIREFOX, I cant see the most recent version of my website unless i manually empty the Cache.

      since my client will be replacing photos by himself in future, i was wondering if there is a solution INSIDE ACTIONSCRIPT CODING to take care of this problem, I dont

      know how much it makes sense to ask all viewers of the website to empty their cache before visiting the website. I have been searching the archive for it and couldnt

      get any result yet. Thanks .

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
February 1, 2012

if you're loading something into flash, you can force it to be loaded from the server (and not the cache) by appending a changing query string to the object's url:

yourloader.load(new URLRequest("yourfile.xyz?queryS="+Math.random()));