PDA

View Full Version : Does Flash automatically know to use Cached files?


coolname1
08-15-2006, 07:02 PM
I am fairly new to flash and I am developing something for my job that would require user download from an army server.

I have text areas pulling content from HTML files through an XML object. The question I have is that if I specify a URL for the documents (not relative URL), once the DL is complete and the file i cached, will flash plugin for the browser then know to go to the cached files for quick presentation of content? It seemed to me the DLs were taking place everytime i navigated somehere else in my app.

And if this does not automatically take place, is there a way to force it?

My file urls are generated after uploading a file to the server. For example:
Commander_Msg.html becomes www.the-site.com/doc/4758973

If ANYONE can shed some light on this please put those 2 cents in. I am struggling to find a definative answer.

Xeef
08-15-2006, 08:03 PM
hi and welcome to As.Org

normaly files already downloaded will by coming from the cache

when it will not work

the server is set up to always send a no cache header
no way around unless you change server settings

you using some id system like
www.domain.com/content?user=123
as fare the user id changes it will by downloaded agein
www.domain.com/content?user=123&Page=123&image=1
www.domain.com/content?user=123&Page=567&image=1 //will by downloaded agein
no way around woud need to use POST instead

coolname1
08-16-2006, 07:03 PM
Thanks for answering my question. I spoke with one of the developers and she doesnt believe they are being cached so I am pretty much screwed.

I do have another question but I will start a new thread