<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: browser cache in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654417#M19403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay, so I've modified just the ConfigManger.as. Completed the 'Export Build Release' and moved it to the production server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I enter the url &lt;/SPAN&gt;&lt;A href="http://server/flex"&gt;http://server/flex&lt;/A&gt;&lt;SPAN&gt; and nothing changes (still pulling from cache). Should I be expecting to see server/flex/index.swf?...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Update: Well, I think it's finally working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I took the zip from &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/57121-browser-cache?p=197488&amp;amp;viewfull=1#post197488"&gt;http://forums.arcgis.com/threads/57121-browser-cache?p=197488&amp;amp;viewfull=1#post197488&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and used the ConfigManager.as, the only difference from ours was the double ;; on a couple of lines (I used one).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also added swfobject.embedSWF(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "${swf}.swf?ts=" + new Date().getTime(), "flashContent",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "${width}", "${height}",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; swfVersionStr, xiSwfUrlStr,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flashvars, params, attributes);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;back to the Index.html and it loaded a fresh page &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now for more testing. Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Aug 2012 13:55:44 GMT</pubDate>
    <dc:creator>DanielJohns</dc:creator>
    <dc:date>2012-08-29T13:55:44Z</dc:date>
    <item>
      <title>browser cache</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654398#M19384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It seems like I often have to clear my browser's cache after updating some things with my web app or else the changes do not show.&amp;nbsp; Clearing the REST cache doesn't take care of everything.&amp;nbsp; I think the average user would not think to clear their cache let alone even know how and they would not see changes/fixes.&amp;nbsp; Is there a way to force it on load somehow?&amp;nbsp; If not, Any ideas on how to get people to understand that it may be necessary?&amp;nbsp; I doubt that a snippet in a help page would be enough....plus when would they even know that a change has been made and they need to clear it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 14:38:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654398#M19384</guid>
      <dc:creator>EricGardecki</dc:creator>
      <dc:date>2012-05-08T14:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: browser cache</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654399#M19385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One thing that helps is using a browser that doesn't store a cache: Google Chrome Incognito, Firefox Private browsing, etc...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe just let the users know to use such a browser in a splash page or something....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other than that I do not know how to enforce an automatic browser cache cleansing upon load....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 15:05:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654399#M19385</guid>
      <dc:creator>philippschnetzer</dc:creator>
      <dc:date>2012-05-08T15:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: browser cache</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654400#M19386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can modify the configmanager.as and add timestamps to the URLs when swf-files and xml-files are loaded, which will prevent the browser from getting it from the cache memory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Take a look at this thread: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/16664-Preventing-client-side-caching-of-the-Flex-Viewer"&gt;http://forums.arcgis.com/threads/16664-Preventing-client-side-caching-of-the-Flex-Viewer&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 07:24:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654400#M19386</guid>
      <dc:creator>MattiasEkström</dc:creator>
      <dc:date>2012-05-09T07:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: browser cache</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654401#M19387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;mattias_j, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have look through the other thread.. I have downloaded the file.. i am not sure where or what i need to change.&amp;nbsp; I cant find the ConfigManager.as.. i am fairly new to this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jesse B.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 14:24:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654401#M19387</guid>
      <dc:creator>jessebelcher</dc:creator>
      <dc:date>2012-05-09T14:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: browser cache</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654402#M19388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm with you on that one.&amp;nbsp; Turns out that that file is in the source for the viewer.&amp;nbsp; So I downloaded that, opened in flash builder (first time using it), fumbled my way around in there all morning, and once I got the build exported it didn't work anyway (viewer doesn't load at all).&amp;nbsp; I have no idea if I did something wrong in FB or if I missed some of the edited lines in Robert's attachment.&amp;nbsp; I opened his file, found the lines with the timestamp, and edited those lines in the 2.5 version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I spent a long time and have no idea what i'm doing in the source, or in FB itself.&amp;nbsp; Unless someone can point me to what I may have done wrong I think i'm screwed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I spent so much time setting up the flex viewer and now something like this is making me regret using it.&amp;nbsp; How can something like this get overlooked?&amp;nbsp; Silly me, if I update my viewer or data I want the end users to see the changes...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 15:35:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654402#M19388</guid>
      <dc:creator>EricGardecki</dc:creator>
      <dc:date>2012-05-09T15:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: browser cache</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654403#M19389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry I forgot to mention that the solution in that thread is for those who is working with the source code i FlashBuilder. And that the ConfigManager.as file was for version 2.3.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Well I started a new project with the source code for 2.5 and made the changes to the ConfigManager.as, and it works for me at least.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eric, did you first try to running the application without any changes at all? if that works you could try the new ConfigManager.as attached to this post. If not you should &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Getting_started_for_developers/01m30000001q000000/"&gt;read this&lt;/A&gt;&lt;SPAN&gt; carefully and start over.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or you could try to use the compiled version and change the index.swf to the one I included in ConfigManager_v2.5.zip, that's my compiled file after making the changes to the ConfigManager. I can't guarantee that it'll work, but it may be worth a try.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jesse and other who use the compiled version could try this as well. But I'm not sure if there might be some of my FB-settings or something else that will make any other changes to my compiled index.swf compared to the one you get when dowloading the compiled version.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 08:08:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654403#M19389</guid>
      <dc:creator>MattiasEkström</dc:creator>
      <dc:date>2012-05-11T08:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: browser cache</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654404#M19390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;mattias_j, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply..&amp;nbsp; i am trying to get the basics down before i jump into the non compiled Api version.. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have replaced my index.swf with the one from your post.. i am testing it now. Good news is everything still works as it did before. Not sure about the cache as of yet but i will let you know. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for you help on this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 13:03:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654404#M19390</guid>
      <dc:creator>jessebelcher</dc:creator>
      <dc:date>2012-05-11T13:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: browser cache</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654405#M19391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mattias, thanks for the response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried your index.swf and get the same result as the one I compiled.&amp;nbsp; The url to the viewer appears to find something, as in no browser errors, but I get a blank white screen.&amp;nbsp; Flash loads but no viewer.&amp;nbsp; I get no errors anywhere.&amp;nbsp; This same testing application works just fine with the esri compiled version of the file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I then again loaded the source in FB and simply tried to run it before doing anything (as in your link) and I get an error saying it can't find index.html.&amp;nbsp; All I did was import the project and add the sdk as is and there are files missing??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm thoroughly frustrated as to why either thing isn't working and don't know what else to do.&amp;nbsp; Any ideas?&amp;nbsp; Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 14:03:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654405#M19391</guid>
      <dc:creator>EricGardecki</dc:creator>
      <dc:date>2012-05-14T14:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: browser cache</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654406#M19392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Eric, the problem with a blank white screen and no errors I've had before. I could solve that by installing a new version of flash player. I don't know what was wrong, the version I had was supposed to be working. Try updating your flash player and see that changes anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The index.html is supposed to be created when building the project, it's based on the index.template.html in the html-template folder.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 06:20:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654406#M19392</guid>
      <dc:creator>MattiasEkström</dc:creator>
      <dc:date>2012-05-15T06:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: browser cache</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654407#M19393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My flash players are all up to date already so there was nothing to update. I tried it in multiple browsers and multiple computers as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the index.html.&amp;nbsp; I was just trying to follow the developer help page you linked to.&amp;nbsp; It suggested running the index.mxml within FB, prior to compiling, to be sure it's working.&amp;nbsp; That's when I got that error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That being said, I decided to try again and ignore that error.&amp;nbsp; I replaced the ConfigManager.as in the project with yours that was posted above, compiled, and tested it out.&amp;nbsp; It is loading just fine now.&amp;nbsp; I then tried a couple quick changes to test out the cache thing. Changes to a widget happened without having to clear the browser cache, however, when I changed something in a popup config I could not see the change without clearing the browser cache.&amp;nbsp; Apparently there are some limitations to what this fix applies to.&amp;nbsp; Do you have a handle on what those limitations may be?&amp;nbsp; So far it seems that it applies to widgets and changes to the config.xml....which is definitely great...but what does it not apply to and why?&amp;nbsp; And can this be changed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help.&amp;nbsp; I'm glad to have this working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Oh... the compile creates several *.swz files along with the index.swf that apparently match the version of FB.&amp;nbsp; Must I use the versions I created or can i just take the index.swf alone out and add to my viewer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 13:40:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654407#M19393</guid>
      <dc:creator>EricGardecki</dc:creator>
      <dc:date>2012-05-15T13:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: browser cache</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654408#M19394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Eric, I reacently noticed that this fix doesn't apply to the PopUpConfig-files too. It was a little bit more tricky to fix than I first thought, I will try to solve it and post back here when/if I'm able to solve it...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As it is now it applies to config-files, both main-configs and widget configs and all widget swf files. For the index.swf I think you have to add a timestamp to the index.html file if you haven't already done that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Concerning the .swz-files I don't think there is any differens between them so you can just take the index.swf. But I'm not 100% sure...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 13:32:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654408#M19394</guid>
      <dc:creator>MattiasEkström</dc:creator>
      <dc:date>2012-05-16T13:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: browser cache</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654409#M19395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I haven't done anything to the index.html so I revisited that thread.&amp;nbsp; So I should change this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;swfobject.embedSWF(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "index.swf", "flashContent",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "100%", "100%",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; swfVersionStr, xiSwfUrlStr,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flashvars, params, attributes);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;swfobject.embedSWF(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "${swf}.swf?ts=" + new Date().getTime(),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "100%", "100%",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; swfVersionStr, xiSwfUrlStr,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flashvars, params, attributes);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;as for the new .swz files, apparently they are required to go along with the new index.swf because it didn't work without them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did notice that this cache fix did not work on the "MySplash" widget, but maybe the change above will take care of that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:43:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654409#M19395</guid>
      <dc:creator>EricGardecki</dc:creator>
      <dc:date>2021-12-12T03:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: browser cache</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654410#M19396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Eric, yes that change will make sure that the main application index.swf is not loaded from the browser cache.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Due to some datatype problems with the PopUpConfig URLs in ConfigManager it is easier to do that fix in the MapManager.mxml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Look for the line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;var popUpConfigURL:String = arrLayerPopUp&lt;I&gt;.popUpConfig;&lt;/I&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;It should be around line nr 1017, and replace it with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;var popUpConfigURL:String = String(arrLayerPopUp&lt;I&gt;.popUpConfig) + "?ts=" + new Date().getTime();&lt;/I&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;That should make sure that PopUpConfigs doesn't load from browser cache...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 13:08:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654410#M19396</guid>
      <dc:creator>MattiasEkström</dc:creator>
      <dc:date>2012-05-21T13:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: browser cache</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654411#M19397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok I made that change in the MapManager.mxml and it seems to work perfectly.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the index.html, when I make that change the application doesn't load.&amp;nbsp; I get a message about it requiring flash 10.2.&amp;nbsp; I am up-to-date.&amp;nbsp;&amp;nbsp; Are you sure my code above is exactly right?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 14:35:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654411#M19397</guid>
      <dc:creator>EricGardecki</dc:creator>
      <dc:date>2012-05-21T14:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: browser cache</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654412#M19398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;sorry, your code above was a mix of what it should be in the index.template.html and the index.html.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the index.html it should be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;swfobject.embedSWF( &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "index.swf?ts=" + new Date().getTime(), "flashContent", &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "100%", "100%", &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; swfVersionStr, xiSwfUrlStr, &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flashvars, params, attributes);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 05:16:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654412#M19398</guid>
      <dc:creator>MattiasEkström</dc:creator>
      <dc:date>2012-05-22T05:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: browser cache</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654413#M19399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;that did it.&amp;nbsp; thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 17:09:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654413#M19399</guid>
      <dc:creator>EricGardecki</dc:creator>
      <dc:date>2012-05-23T17:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: browser cache</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654414#M19400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I'm using 2.5 and was trying to achieve the same thing (disable the swf caching). I've attempted the recommendations above, but it's still loading the old version from cache (using IE9).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried the MapManager.mxml mod and also the Index-template mod (also verified the build) with no success. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the eSearch tool as well as a splash page (not sure if that would make a difference).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;my Index-template.html has the following mod.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;swfobject.embedSWF(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "index.swf?ts=" + new Date().getTime(), "flashContent",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "100%", "100%",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; swfVersionStr, xiSwfUrlStr,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flashvars, params, attributes);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Flash also ignored the following (for those who may come across other post).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;meta http-equiv="Cache-control" content="no-cache" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;meta http-equiv="Cache-control" content="no-store" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;meta http-equiv="Cache-control" content="must-revalidate" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;meta http-equiv="Cache-control" content="max-age=-1" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;meta http-equiv="Pragma" content="no-cache" /&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;meta http-equiv="Pragma" content="no-store" /&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;meta http-equiv="Expires" content="-1" /&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for any recommendations to resolve the issue &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Daniel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 13:10:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654414#M19400</guid>
      <dc:creator>DanielJohns</dc:creator>
      <dc:date>2012-08-29T13:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: browser cache</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654415#M19401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you applied the time stamps to the multiple lines in the ConfigManager.as?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 13:24:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654415#M19401</guid>
      <dc:creator>EricGardecki</dc:creator>
      <dc:date>2012-08-29T13:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: browser cache</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654416#M19402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm actually doing that right now. I found another forum post that mentions it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/16664-Preventing-client-side-caching-of-the-Flex-Viewer?p=105311&amp;amp;viewfull=1#post105311"&gt;http://forums.arcgis.com/threads/16664-Preventing-client-side-caching-of-the-Flex-Viewer?p=105311&amp;amp;viewfull=1#post105311&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have 2.5 (Robert provided the one for 2.3.1) so I have to search and replace, but it this works I will reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 13:29:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654416#M19402</guid>
      <dc:creator>DanielJohns</dc:creator>
      <dc:date>2012-08-29T13:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: browser cache</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654417#M19403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay, so I've modified just the ConfigManger.as. Completed the 'Export Build Release' and moved it to the production server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I enter the url &lt;/SPAN&gt;&lt;A href="http://server/flex"&gt;http://server/flex&lt;/A&gt;&lt;SPAN&gt; and nothing changes (still pulling from cache). Should I be expecting to see server/flex/index.swf?...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Update: Well, I think it's finally working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I took the zip from &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/57121-browser-cache?p=197488&amp;amp;viewfull=1#post197488"&gt;http://forums.arcgis.com/threads/57121-browser-cache?p=197488&amp;amp;viewfull=1#post197488&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and used the ConfigManager.as, the only difference from ours was the double ;; on a couple of lines (I used one).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also added swfobject.embedSWF(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "${swf}.swf?ts=" + new Date().getTime(), "flashContent",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "${width}", "${height}",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; swfVersionStr, xiSwfUrlStr,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flashvars, params, attributes);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;back to the Index.html and it loaded a fresh page &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now for more testing. Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 13:55:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/browser-cache/m-p/654417#M19403</guid>
      <dc:creator>DanielJohns</dc:creator>
      <dc:date>2012-08-29T13:55:44Z</dc:date>
    </item>
  </channel>
</rss>

