How to clear cache
I am generating an XML file dynamically using php, and have
flex call and use it as a dataprovider. However I have been unable
to make flex display the updated data, it just continues displaying
the data that was first genereated in the XML file. I have tried
numerous different methods of clearing the cache but none of them
had and effect whatsover.
Could someone please help me by telling me pricesly what i
need to do to have flex reload the data from the xml file whenever
the page loads.
Thanks in Advance
Oran
Very quick response as im very busy, hope this helps.
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
width="100%" height="100%" creationComplete="srv.send()">
// to automatically refresh the page on creation complete, or
<mx:Button label="Refresh Page" click="srv.send()"/>
//... to do it on a button click
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
public var myData:ArrayCollection;
]]>
</mx:Script>
<mx:HTTPService id="srv" url="../data/data.xml"/>
//then reference this data source with
<mx:ColumnChart id="chart"
dataProvider="{srv.lastResult.data.result}"
etc.
Similar Messages
-
How to clear Cache in Safari?
I found this solution to clear Cache in Safari on the community pages.
Does it work? I hope the Safari developers with confirm.
How to clear Cache in Safari
~Bee Delaware
Jan 3, 2013 7:34 PM
Quit Safari.
Click out on your desktop somewhere to get Finder menu on the top menu bar. Then look over to the right, and select the "Go" menu while holding down the "Option"button. You will then see an option for "Library" right under your home folder on that list.
That is your hidden Users Library. Open that Library, go down to Caches. Open that, and then look for apple.com.Safari. Take that file to the trash.
Restart Safari.
I tried it, I do not know what the consequences are yetIt''s a bit drastic, but that clears Safari cache. There's another way of clearing the cache:
1. Open Safari, go to Safari menu (on the menu bar) > Preferences > Advanced, and tick "Show Develop menu in menu bar".
2. Close Preferences, and go to Develop menu > Delete cache -
How to clear caches using lion
how to clear caches using lion
There are a number of 3rd-party apps that will delete caches, among other things. The free OnyX is a good one.
But, as a brody says, it's usually not a good idea to do that unless you're sure it's needed. -
How to clear cache after mime object is updated?
Hi Expert,
I create a mime object (such as "test1.jpg") in mime repository.
In web dynpro, I add two UI elements: a formatted text edit and a File-Upload "Insert Image",
after I click the File-Upload "Insert Image",
I select an image file (such as test2.jpg) from local directory, and upload the content of the image file to mime object(test1.jpg) in mime repository.
at the same time, I insert a line into formatted-text-edit as "<img src="/SAP/Public/.../test1.jpg" />".
I double click the mime object (test1.jpg), its content has changed as test2.jpg,
however, formatted-text-edit still displays the content of test1.jpg.
When I mannually clear the cache of IE, and refresh the web, Formatted-text-edit display the content of test2.jpg.
It's obvious that the cache of http server isn't cleared.
How to clear cache after mime object is updated?
Any suggestions are welcomed.
Thank you.
Best Regards,
Derek
P.S. the source code:
lv_url = '/SAP/BC/WebDynpro/SAP/ZENHANCE_IA/test1.jpg'.
lo_mine_rep = cl_mime_repository_api=>get_api( ).
lo_mine_rep->put(
EXPORTING
i_url = lv_url
i_content = lv_file_string ).
Edited by: Derek Zhao on Sep 20, 2010 6:21 AMHi Derek,
Have you tried the method INVALIDATE_ICM_CACHE of class CL_MIME_REPOSITORY_API ?
Regards,
Anand -
Hi All,
i changed 1 .js file in mime repository, but the changes are not getting reflected when i run 1 of the WAD templates. it still picks the old .js file. i guess there is some problem related to clearing of cache memory.
Any ideas about how to clear cache in BW?
Thnx in advance
GodhuliHi Godhuli,
You can call transaction <b>RSRCACHE</b> and you can delete all; In OSS Note 456068, you can find all the issues related to this kind of problem
You can also refer oss notes 679609,779015 for OLAP cache invalidation.
Awarding points is the way of saying thanks in SDN!!!
Regards,
Balaji -
How to clear cache and cookies
Hi guys,
I am new to jsf. And I have one problem in jsf, How to clear cache and cookies.
Please help me to solve this..clearing Java cache and cookies is different from clearing IE cache and cookies. Usually when you powercycle your computer it is automatically cleared. To clear manually:
go to start--> settings--> control panel--> double click on Java icon. Click on "delete files" under temporary internet files or 'clear cache' in the 'cache' tab. It depends on which version of java and which OS you use on how these will show up.
If you were having issues with java crashing or making your freezing up, this should resolve the issue. It is strongly suggested that you powercycle the computer as well after clearing the java cache. -
How to clear cache in oracle without bouncing apache,
Hi guys,
Can any one please suggest how to clear cache without apache bounce....
Thanks in advanceThanks for your reply....
I have done controller extension ,through personalization i have added the new controller path to the seeded page............
But now i need the actual controller instead of my new custom controller for this i have firstly disabled Personlization for my user then i went to that page i have clicked on 'Inherit'() option ,then again i have enabled personalization ...now when i open that page itz still pointing to the custom controller path instead of the original controller......
Help me to solve this issue without Apache bounce....
Edited by: 912808 on Mar 21, 2012 6:19 AM -
Hi All,
How to clear cache POP-UP LOV .
For example :
I had created one pop-up lov "Marketing client", when I select any value from pop-up lov . If the Marketing Client already has 'AIM Investments' but someone clicks the item to get to search for a different one it currently only shows 'AIM Investments' unless someone blanks out the search box.
What I want is every time I click on LOV it will show all the values. User need not to clear the search box to get all the values.
Any pointer.
Regards
DikshitHi All,
How to clear cache POP-UP LOV .
For example :
I had created one pop-up lov "Marketing client", when I select any value from pop-up lov . If the Marketing Client already has 'AIM Investments' but someone clicks the item to get to search for a different one it currently only shows 'AIM Investments' unless someone blanks out the search box.
What I want is every time I click on LOV it will show all the values. User need not to clear the search box to get all the values.
Any pointer.
Regards
Dikshit -
how to clear cache in firefox
Settings-Advanced-below"Network" and here clear
https://support.mozilla.org/ru/kb/kak-ochistit-kesh-firefox?redirectlocale=ru&redirectslug=kak-ochistit-kesh -
How to clear cache in mavericks
how to clear cache in mavericks ?
You can use one of several good utilities:
Mavericks Cache Cleaner
Onyx
Cocktail
You will find them at www.macupdate.com.
Also, you should startup in Safe Mode, then restart normally. This is a slow startup, but part of the process cleans out some system caches.
I don't know what browser you use, but there should be some cache clearing options available. -
How to clear cache and cookies on an iphone
Hi, can you please tell how to clear cache and cookies on an iPhone, thanks
Settings > Safari > Clear Cache/Cookies
-
How to clear cache for items after submitting the page ?
db11gxe , apex 4.0 , firefox 24 ,
hi all ,
i have a non enterable pop-up lov and a report in the same page , and i search with the pop-up item , but the problem is when i click the search button ,
the value in the pop-up is not deleted , and sure i want it cleared after i search ? how to do so ?
thanksSurely, when you click the search button, the value in your item is required by the report (as a parameter).
Create a button (RESET) with a branch back to the same page and use the clear cache in the branch
Gus -
How to clear cache for XML data source?
Hi All,
I'm facing a problem loading XML data into Oracle using Oracle Data Integrator. The problem is ODI will cache the data of the XML file at the first time loading the data. And afterwards, when the XML file changed, ODI will load data from the cache.
I did serveral testing on this. If I run the interface in local agent of the designer, I must restart the designer to clear the cache. If I run the interface in an agent, I must restart the agent to clear the cache.
Below is my configuration:
ODI version: 10.1.3.5.0
The technology of the source: XML.
JDBC driver: com.sunopsis.jdbc.driver.xml.SnpsXmlDriver
Does anybody know how to clear the cache of the agent or XML?
Thanks.Hi ,
Use drop_on_disc or dod in your JDBC URL .
example ,
jdbc:snps:xml?f=C:\mutation.xml&d=C:\mutation.xsd&lf=C:\mutation.log&ro=true&dod=yes
The dod (drop_on_disc) drop automatically the schema when closing the JDBC connection.
dod option must be the last option of the URL.
This option removes the reference to the schema from the driver, and if the schema is store in memory, it also drops the schema. If the schema is stored in an external database (set via db_props), the driver tries to drop the database schema.
Thanks,
Sutirtha -
How to clear cache in weblogic server 10.3
Hi,
I am using web logic to handle cache ? How can i clear cache using web logic Mbeans?which cache are you talking about? Coherence cache?
Or maybe you are talking about code cache, as explained here http://wlatricksntips.blogspot.com/2010/07/clearing-cache-for-weblogic-instance.html ? -
How to clear cache for file server
Hi All,
I want to know that how to clear the cache in solaris using commands.
What is the ip connection cache file?
Please share your knowledge with me.
Thanks in anticipation.
Regards
AnupAll this info applies to
Portal version 9.0.2.6.18
I found that there is portlet called "clear cache",
under provider portal tools. This when placed on a tab can clear the cache of that tab for a user.
I found this as a work around for the API.
Harish -
How to clear cache during development?
I don't want Flash to store the video and image files it pulls in when I test publish the swf. Somewhere it's keeping those files in cache, making it impossible to test a realistic download situation ( such as loading indicators, buffering bars, etc ) because the 'loading' file is immediately available in its entirety due to being stored in cache.
Anyone know how to control the caching behavior?
I am using:
Adobe Flash CS5
Windows XP PRoWhen you pull content in from the Web, what type of files and how is it done? Are you testing in a browser?
If you see a "loading" bar for a video, I'd say it's being cached in a Web browser cache...
When you work "with a clear cache", how did you clear the cache?
Have you checked your Web browser cache before and after testing to see if the file is in the browser cache?
In FF you can check by typing "about:cache" in the address bar. In IE, it's a little harder in the new version but in XP you could view directly into the cache.
All that being said, I pupose you could add a time/date component to the file name so that your file always need new data, something like used in news-tickers, etc.
xmlData.load("news_ticker.xml?blarg="+new Date().getTime());
which requires a new time and date appended to this particular xml file, hence always requireing a new version of the file to be loaded.
Perhpas you could adapt that approach.
Best wishes,
Adninjastrator
Maybe you are looking for
-
Hi just installed latest update to itunes and have just noticed that it will no longer play my tracks all the way to the end mainly stopping around 8 sec from the end has anyone else had this problem have all ready tried deleting libery and re-instal
-
Can I verify correct version of PSE 10?
I just downloaded from Adobe a trial version of PSE 10 for my new iMac OSX Lion v. 10.7. Is there a simple way for me to verify that the version I got is, in fact, for OSX Lion? My opening screens do not appear similar to what I see in the PDF User
-
Unable to install DB(swap size issues)
Unable to install DB. End part i am getting failed due to swap size issue .. FYI... [root@usr~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/hda2 5.9G 5.9G 0 100% / /dev/hda3 3.0G 848M 2.0G 31% /t
-
Select multiple pictures and Rotate
This is very frustrating. Pay hundreds for a pro program and it won't perform a task that iPhoto does all day. I highlight a group of photos and try to rotate either using the menu or the tool bar and it rotates one picture (the last). Just unaccepta
-
Apple IOS6 Maps a serious downgrade. How can I get google maps back!
Apple IOS6 Maps a serious downgrade. How can I get google maps back?