Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Caching Issues with Adobe Flex and HTTPservice

Former Member
0 Likes
624

I faced a strange issue a coupla days back. In one of my Applications I had a Timer which would fire every 10 secs and would fetch data using a HTTPService call when fired. Surprisingly though, the initial results fetched by the HTTPservice was cached and would not reflect any changes when the data changed in the background, in IE, however the problem would not occur in Firefox !

I sort of hacked the HTTPService url to add a random number at the end of the call to make it believe that it was calling a different URL every time and it worked. But I would definitely like to know the reason for this behavior

1 ACCEPTED SOLUTION
Read only

athavanraja
Active Contributor
0 Likes
596

The solution for this case is to use POST method (if possible) where IE wont cache

3 REPLIES 3
Read only

athavanraja
Active Contributor
0 Likes
597

The solution for this case is to use POST method (if possible) where IE wont cache

Read only

0 Likes
596

Bang on Raja, works perfect

Read only

Former Member
0 Likes
596

Hi, Abesh.

I ran into the same thing, but it did not do this until recently! I had recently installed Flex 3.0 beta, so maybe something changed with the compiler and/or the Flash VM in this regard. Also, you can change the behavior of the Flex/Flash runtime by changing the caching settings in IE (check page for newer version on each visit).

Rick