开发者

Does AMF support caching?

开发者 https://www.devze.com 2023-01-18 01:03 出处:网络
In 开发者_开发百科other words: Can I respond with a 304 and have it \"just work\"?By default Flex\'s RemoteObject and BlazeDS handle AMF requests as POSTs so they won\'t cache in the browser.You could

In 开发者_开发百科other words: Can I respond with a 304 and have it "just work"?


By default Flex's RemoteObject and BlazeDS handle AMF requests as POSTs so they won't cache in the browser. You could change that by implementing your own servlet that serializes GET responses as AMF. Then on the Flex side use URLLoader to make the request. That might cause the browser to cache the response.

0

精彩评论

暂无评论...
验证码 换一张
取 消