How does Flex cache images??

To my understanding, in straight HTML the browser caches image files such that upon return visits (all other things being equal) the browser obtains the image from a browser cache rather than re-downloading.
Does/can flex make use of the same browser cache?   More specifically, if my flex app downloads a large image file; then the visitor closes his/her browser before reopening it and navigating back to my flex app URL where does the same large image file come from, the imageServer again or from some sort of cache?
For that matter is the flex app itself cached by the browser such that (assuming no changes were made between visits) a return visit to my flex app url does NOT require the re-download of the app from the server (I know HTML has this capability but not sure about the HTML "wrapper page" which launches the flex app).
Thanks in advance,

Sorry for being newbie obtuse but are you saying that FP (Flex Project I assume)'s are an Active X (application) and thus IE does utilize its cache for all HTTP based communications???
If so then as I understand it, the typical Flex Project has an HTML wrapper which then loads the Flex App (I assume using HTTP).  Subsequent Flex<--->Server communications can be HTTP or other format (AMF which I believe BenForta indicated was HTTP "wrapped" as well but at the moment I am less concerned with this).
As such is the following correct?
1.)  IE Browser hits HTML page (url) ----> IE checks its cache; If exists compares vs current version on server; If different download from server else load from cache
2.)  HTML page calls Flex App (using HTTP???) ----> IE again compares Flex App in cache (if exists) vs. server and if same load else download
3.)  Flex App retrieves image file names via <mx:RemoteObject> ----- I don't see how browser cache can be used here as results not known until after dbase query completes
4.)  Flex App uses <mx:RemoteObject> results to retrieve large .jpg files  ---- do these "pass through" the browser (and therefore load and/or store in cache) or are they purely "Flex contained" (and if so does flex have any automatic cache or do I have to perhaps store the jpgs in a shared object if I hope to reuse them without a download)???

Similar Messages

  • How does Flex cache PDF files??

    I need to prevent my Flex application to cache PDF files... We are using LiveCycle8.2 and Flex 3.2. Does anybody may help me??

    Sorry for being newbie obtuse but are you saying that FP (Flex Project I assume)'s are an Active X (application) and thus IE does utilize its cache for all HTTP based communications???
    If so then as I understand it, the typical Flex Project has an HTML wrapper which then loads the Flex App (I assume using HTTP).  Subsequent Flex<--->Server communications can be HTTP or other format (AMF which I believe BenForta indicated was HTTP "wrapped" as well but at the moment I am less concerned with this).
    As such is the following correct?
    1.)  IE Browser hits HTML page (url) ----> IE checks its cache; If exists compares vs current version on server; If different download from server else load from cache
    2.)  HTML page calls Flex App (using HTTP???) ----> IE again compares Flex App in cache (if exists) vs. server and if same load else download
    3.)  Flex App retrieves image file names via <mx:RemoteObject> ----- I don't see how browser cache can be used here as results not known until after dbase query completes
    4.)  Flex App uses <mx:RemoteObject> results to retrieve large .jpg files  ---- do these "pass through" the browser (and therefore load and/or store in cache) or are they purely "Flex contained" (and if so does flex have any automatic cache or do I have to perhaps store the jpgs in a shared object if I hope to reuse them without a download)???

  • How to remove cached images in html whe going from one page to another page

    can anybody help how to remove cached images in html pages.i tried with response.setHeader("no-cache") but it is not working

    thanks,
    can u tell me how to make the browser not to cache images.since iam moving from one page which has images, into another page which having few more images both gets overlaped so how to remove images of previous page.
    thanks in advance

  • How does flex upload works

    Hi,
    I have created a flex web application with php server side support. There is a file upload functionality in this webside. When I'm uploading a file using flex upload controller does it uses a huge amount of memory from the client machine that uploads the file? and how does flex controller transfer the file to server (upload the whole file at once, upload as chunks) ?
    Cheers!! 

    Hi,
    Refer links:
    http://download.oracle.com/docs/cd/B19306_01/em.102/b16227/oui8_opatch.htm
    http://download.oracle.com/docs/cd/B16240_01/doc/em.102/e15294/prereq_checks.htm
    http://avdeo.com/2008/08/19/opatch-utility-oracle-rdbms-patching/
    thanks,
    X A H E E R

  • How does RH7 handle Images?

    Could someone please take a moment and tell me how RH7
    handles images? Does RH7 keep images in their location and just
    reference them...i.e. If I create an image folder on the server,
    will it just reference them from there or does it create a copy of
    the image and store them elsewhere?
    I have a very large help site and with multiple section, and
    we merge them all together. Each section has many images - with
    some images used across sections. I am trying to figure out the
    most efficient way to handle them. Based on the help here, I have
    decided that snippets will be the best option. However, in order
    for me to use them effectively I need to understand the underlying
    process. Also, does anyone have a better suggestion on how this
    could be done?
    Thanks in advance for the assist.

    Images must be in the project. When you import an image, it
    is copied to your project. It cannot be outside.
    Even with merged help, the images have to be within the
    specific project and that can mean duplication.

  • How does Flex handled long computation tasks?

    Hi
    I am using Flex3 with Java. I need to print a large document after doing some processing on it, which require about 15 seconds(varying depending on size of document). Currently, the browser will hang for around 15 seconds and after that the printing starts.
    I want to figure out how to take care of the following items
    User should be able to execute long tasks, even if the cumputaion time takes longer time, say 1 min.
    Any option for multi-threads, so that i can split the processing job to minimise the computation time.
    Option to Cancel the execution in between.
    Avoid the freezing of UI - currently, my browser is getting stuck while flex executes the print job
    Also, can I incrementally render the browser with some data during the ciompuutaion so as to engage the user to reduce the effect of computaion delay.
    Thanks
       Rakesh

    Unfortunately, the current Flash Player does not support multiple threads in ActionScript. However, the Player team is aware of the desire by developers for some form of concurrent processing and they're thinking about how to satisfy it.
    In the meantime, if you have a lot of ActionScript to execute, you have to develop some kind of "green threading" (http://en.wikipedia.org/wiki/Green_threads) of your own, or find a library that does it. The basic idea would be to use an enterFrame handler (or a Timer) and a work queue to do only a reasonable amount of computation per frame.
    Gordon Smith
    Adobe Flex SDK Team

  • How does google find images

    Does anyone understand how google finds images? I am a sculptor, my website is http://web.mac.com/phelpssculpture/iWeb/
    I just did a google search of david phelps sculpture and my site came up in decent ranking. Then I got the bright idea to switch to google image search and found one of my sculptures on
    http://web.utk.edu/~wmorgan/Suttree/oarsman.htm
    but no images from my site came up. Any suggestions?
    Thanks, David
    ibook & imac   Mac OS X (10.4.8)  

    Hi David...
    I think Google just categorizes the filesnames that it finds in the HTML of your pages and if they can be associated with appropriate URLs then they get
    indexed. It probably just recognizes the file extensions, like .jpg or .tiff.
    I don't know of a specific way to get images into the Google index. You could probably add the specific URL paths to your images to a sitemap or something. That might do it.

  • How does Flex support Internationalization?

    I know the mx:Text, mx:Label, mx:TextArea support non-English languages. But do I switch, for example, a mx:Lable's text between two languages.
    Is there a framework that support it?

    On 2/24/2011 9:27 AM, 2009 Matt said:
    >
    Yes, It uses resource boundle. How do you use the property file with east asian languages, such as Chinese?
    flex's resource bundles (RB) aren't like java RB, they're utf-8 text not escaped
    unicode.
    for swapping locales at runtime see this:
    http://adobe.ly/eWdJpd

  • How does one import images and maintain the sorting order?

    i'm trying to import 59 images (1024 x 768 png files) into keynote. i want them to create a series of image slides with 1 image/slide and keep them in the order i.e. sorted by image file name such as:
    image001.png
    image002.png
    image003.png
    and so on.
    i've tried dragging and dropping these images onto the navigator sidebar but the images get out of order randomly.
    has anyone encountered this? this seems like a bug.
    thanks,
    matt

    hi marcus.
    thanks for the suggestion.
    while i have not tried your solution yet, i'll bet that it'll work and you're correct, it would be faster than rearranging the slides later. it drives me crazy that what i'm trying to do does not work out of the box. if there's one thing apple promotes in its apps its got to be drag and drop. that this does not yet work is nutty.
    good luck,
    matt

  • How does flex builder handle permissions?

    Every time i launch flex builder it seems to for some reason
    replace my external files(asp files that gernerate xml) with older
    versions. Sometimes during work updates i make to these files stop
    occuring entirely, its as if im not able to save over or copy over
    the files, when i close flex builder and reboot i can copy the
    files from last time i backed up and work for a little while
    longer, it just started doing this. My files are in the bin
    directory with all the other files and maybe thats bad, anyways any
    advice would be great.
    leo

    leotemp wrote:
    > Every time i launch flex builder it seems to for some
    reason replace my
    > external files(asp files that gernerate xml) with older
    versions. Sometimes
    > during work updates i make to these files stop occuring
    entirely, its as if im
    > not able to save over or copy over the files, when i
    close flex builder and
    > reboot i can copy the files from last time i backed up
    and work for a little
    > while longer, it just started doing this. My files are
    in the bin directory
    > with all the other files and maybe thats bad, anyways
    any advice would be great.
    >
    > leo
    >
    When you compile and run a flex application in flex builder
    we copy over
    all the included files to the bin folder. Do you have copies
    of the
    generated xml files in your project? If so, then the ones in
    the bin
    folder will get overwritten.
    winsha

  • How does Pages store images?

    I need to understand how Pages stores images. I recently lost a few iphotos due to a disk problem. When I opened my Pages docs, those particular images were missing from them also (and from my backups). From what I've found on this forum, it seems Pages creates its own copies of the images. Can any one tell me why I lost the ones in my document? How to prevent it?
    Thank you!

    I have no experience of your problem, but the photos are stored in the Pages files. In the Finder, ctrl-click or right-click on the file and choose "Show Package Content". There inside somewhere are the pictures hidden.

  • How does Flex stack up with C#

    We are interested in Flex but just wondering how it stacks up
    with C#? Anybody with any comments would be appreciated/

    Check out my article
    Flex
    - What's in it for .NET developers?

  • How does iWeb access images?

    Where are the website images stored? I entered an HTML snippet but it includes images.  The html lists the images as menu.images.whatever..  I need to know how to modify the code and where to put the images.  There is also a css style.  How do I make such a snippet work?

    Hi Victoria and welcome to the forum.
    I had to Google Shape but it looks interesting, and dies use the CC Libraries.  I am a big fan of CC Libraries, but have only used them between apps on the same machine.  So it is just a matter of see how they work between different systems
    Illustrator Help | Creative Cloud libraries - collaborate, sync, and share assets
    In my experience, I simply drag an asset onto the Library in one app, and it is there in my other apps.  But I have to make sure I am looking at the same library name on both computers.  Now I have been confused over syncing before, but I suspect that if you open the Application Manager and click on the little Cog icon, and in the Files tab make sure Sync is checked.  Otherwise you might as well read the help files.
    Sync digital assets in Adobe files and apps | Creative Cloud Libraries
    Good luck

  • Where does flash cache images too?

    For example if I run this simple loader...
    imageLoader = new Loader();
    imageLoader.load(new URLRequest("http://farm9.staticflickr.com/8430/7735091072_5c9139c13e_b.jpg));"
    imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);
    private function imageLoaded(e:Event) {
         trace("loaded");
    .. It takes a few seconds to load the image from flickr... (Fair enough its a decent size)
    If I run it again it appears almost instanty which would imply it has been cached somewhere on my machine.
    Which is a good thing! I like this!
    However as the app in question might download a large amount of graphics over time (its on a kiosk) I was thinking about writing somthing that would clear out the cache once a week or so.
    But I dont no where flash keeps its cache? Ive done a search for the above image locally and it doesnt show up anywhere.
    Any ideas?
    Thanks
      Aidan

    These things are using the browser's cache. If you were using RSL's that would be going to a location managed by Flash.

  • How does Flex decide when to draw a scrollbar?

    First my problem...
    I have a tree whose data changes because I changed the contents of a custom object in the data provider's array collection. The scrollbar does not update itself when the tree expands beyond the view of the canvas. It doesn't update until I close the branch and then reopen it. Then, the scrollbar updates itself.
    What I've tried...
    So far, I figure that since the changes are occurring deep within the data provider, no Collection Event is getting dispatched. Since the structure is so..
    dataProvider = arrayCollection;
    arrayCollection[ 0 ] = parentNode : TreeNode;
    parentNode.children = ... // array collection of other TreeNodes
    So I've tried dispatching my own event when the addition of the nodes is through using the following...
    layerDirectoryArr.refresh(); // layerDirectory is the first child in the array collection in the dataProvider (parentNode)
    sidePanel.directoryTree.invalidateDisplayList();
    sidePanel.directoryTree.invalidateSize();
    layerDirectoryArr.dispatchEvent(new CollectionEvent(CollectionEventKind.UPDATE, false, false, CollectionEventKind.UPDATE, 0, 0, [layerDirectoryArr[0]]));
    I've also tried adding buttons to invalidateDisplayList(), invalidateSize() for the tree and neither work.
    More explanation on the code below..
    The data provider is an array collection of custom object that all have a "children" field (array collection) of the same custom objects. I have a Tree that is within a canvas. The Tree uses a custom renderer. The tree sits in the same position as a List. I use a "useTree" var to toggle the visibility, essentially to choose either the List or the Tree to be displayed within the Canvas. I set both of them at 0,0.
    <mx:Canvas width="100%"
                   id="hBox"
                   backgroundAlpha="0.7"
                   height="80%"
                   verticalScrollPolicy="off"
                   horizontalScrollPolicy="off"
                   backgroundColor="0x55FF66"
                   dataChange="validateNow()">
            <mx:List id="list"
                     width="100%"
                     height="100%"
                     labelField="name"
                     x="0"
                     y="0"
                     visible="{!useTree}"
                     backgroundAlpha="0.8"
                     itemRenderer="components.tree.CustomListItemRenderer"
                     creationComplete="listComplete(event)"
                     dataChange="validateNow()"/>
            <mx:Tree id="tree"
                     width="100%"
                     labelField="name"
                     showRoot="false"
                     visible="{useTree}"
                     backgroundAlpha="0.8"
                     x="0"
                     y="0"
                     creationComplete="treeComplete(event)"
                     dataProvider="{treeDataProvider}"
                     itemRenderer="{treeClass}"
                     valid="logTreeEvent(event)"
                     change="logTreeEvent(event)"
                     variableRowHeight="false">
            </mx:Tree>
        </mx:Canvas>

    If the Tree showed the new nodes, then notification is probably working.
    But showing new nodes may not force the tree to compute a new
    measuredHeight.  The container will check the measuredHeight and determine a
    desired height and show scrollbars if it doesn't fit.  If the container also
    has %height, it will not show scrollbars unless minHeight is set to a
    smaller number.

Maybe you are looking for