Skip navigation
MathAdor
Currently Being Moderated

Firefox - Browser Cache - Viewing Most updated Website

Jan 31, 2012 4:30 PM

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 .

 
Replies
  • kglad
    62,095 posts
    Jul 21, 2002
    Currently Being Moderated
    Jan 31, 2012 5:17 PM   in reply to MathAdor

    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()));

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points