阅读背景:

防止客户端存储XMLHttpRequest文档。

来源:互联网 

I've written some JavaScript that uses XMLHttpRequest to fetch a large amount of XML documents from a remote server. To do this, I've created a variable that the response of my request is stored in. I parse each response for the data I'm interested it. Then, I loop back and run the function again, with a different URL. My understanding was that because I used the same variable to store the XML, each document would overwrite the one before it. However, Windows Task Manger reveals that the memory used by Internet Explorer continues to grow, presumably from cached versions of the now-meaningless documents.I've written some JavaScript that uses XMLHttpR




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: