开发者

What is responsible for caching the HTTP requests sent via AIR desktop application?

开发者 https://www.devze.com 2022-12-27 11:05 出处:网络
When dealing with a flash application that will run in a browser, it\'s obvious that the browser will cache some of the HTTP requests. But w开发者_如何学编程hen dealing with a desktop AIR application,

When dealing with a flash application that will run in a browser, it's obvious that the browser will cache some of the HTTP requests. But w开发者_如何学编程hen dealing with a desktop AIR application, what's caching them? Is it the OS, or the AIR container?

Reason I'm asking is that I've recently dealt with a really ugly and time consuming memory leak that happened only on MAC OSX (running on Windows was fine). The memory leak was solved with setting the headers of the HTTP requests I was making to include "Cache-control" = "no-store", "no-cache". But the fact that on one OS there's no memory leak, and on the other there is with the same AIR build is a probable indication of a bug somewhere. The question is where.


The OS is caching the request, not the AIR platform (I knew that there were some requests to have the caching feature in AIR but for the moment it is not). Related to your memory leak I think that you should fill a bug on https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform.

0

精彩评论

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