Somewhat related ... 

I've written a CachedHTTPService which extends
mx.rpc.http.mxml.HTTPService to implement a caching mechanism, if you
ever wanted to force custom-caching of data. It behaves exactly like
the standard HTTPService in declaration and all that, transparently
retrieving cached data if it's available, passing it along as the
result, otherwise calling the service as it was intended upon send().
It requires the use of a WriteableResultEvent which extends
ResultEvent (to allow writing to the result property), as well as a
CacheManager interface which can be implemented however you see fit.


If anyone is interested, I can post the source in the next couple of days.


--- In [email protected], Christopher Olsen <[EMAIL PROTECTED]> wrote:
>
> Yeah from my experiences with the flash player it appears that it uses 
> the browser for network connections to fetch files... and the browser 
> does the caching....
> I have a poor workaround i modify the httpservice url and keep
appending 
> a timestamp to the url but there must be a better way?
> 
> -Christopher
> 
> 
> Guido wrote:
> >
> > I've had the same issue and I wasn't able to bypass it. In my case, I 
> > access an XML file throug HTTPService, and I always get the same XML 
> > even if I modify (or even delete!) the file from the server
> >
> > On 6/7/07, *Christopher Olsen* <[EMAIL PROTECTED] 
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> >     Anyone ever have an issue where an HTTPService result gets cached?
> >
> >     I'm use an httpservice to call a script which generates html
however
> >     after the time run it's always returning the same results the
*data*
> >     appears to be cached
> >
> >     -Christopher
> >
> >
> >
>


Reply via email to