You can append a query string to any URL and this forces a reload of the
data from the CLIENT.

For example, as someone has already pointed out.

Main.swf?nocache="+(new Date()).getTime()

You can also do this to your data file.

myData.xml?nocache="+(new Date()).getTime()


As you might have noticed, I was specific about this working to force
reloading on the client. It has been my experience that this is not a 100%
solution. There are some instances where the server will cache the data and
query strings do not force the reloading of data. The server cache would
eventually update after a few hours though.

To be honest I do not know the solution to this part of the puzzle. I put
that issue on the laps of the server administrator. I know that it took his
several "patches" to fix the issue for users off domain. I do recall that
people on the same domain were still getting caching issues. This was
finally chalked up to a FOL (fact of life).

To provide full disclosure, this was a fairly complex network and domain
config. as it was for a major financial institution. So, the problem might
have been self induced and thus unique to the company.

Charles P.


On Fri, Sep 25, 2009 at 11:52 AM, Muzak <p.ginnebe...@telenet.be> wrote:

> Depending on your browser settings, it's both.
> But in general you only need to worry about the data caching.
> So appending a random number to the text file url should suffice.
>
> ----- Original Message ----- From: "Don Schnell - TFE"
> <dschn...@toolsforeducation.com>
> To: <n...@joeflash.ca>
> Cc: "Flash Coders List" <flashcoders@chattyfig.figleaf.com>
> Sent: Friday, September 25, 2009 3:35 PM
> Subject: Re: [Flashcoders] Flash Cache in IE & FF
>
>
>  Chris/Joe, thanks a bunch, but here is my next question (just curious)...
>> Is it the SWF which is not getting reloaded every time the page is viewed
>> and thus my data is not getting reloaded or is it my data file that is
>> cached and therefore the browser just keeps reloading the same old data
>> file, or is it both?
>> One other item I notice is that I entered the url for the actual text file
>> i was attempting to load and when I previewed that file it also contained
>> old content and did not update until I performed a CTRL F5. Even attempting
>> to clear the browser cache didn't seem to help.
>>
>> *Don
>>
>
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to