[Project_owners] On caching of loaded XML files...

David Duong david.nqd at gmail.com
Mon Feb 27 11:35:27 EST 2006


Hello,

I have question about how caching of remote XML files is handled.  Given the
code:
---
// Executes after the XML file has been loaded
var XMLDoc = document.implementation.createDocument("", "", null);
XMLDoc.onload = function () {
   // ...
}
// ...
  XMLDoc.load('http://some.remote/file.xml');
// ...
---

Would the caching of 'http://some.remote/file.xml' be automatically handled
by Gecko?  So if this bit of code is executed twice, would the '
http://some.remote/file.xml' be download only once?

- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/project_owners/attachments/20060227/36d8cbec/attachment.htm


More information about the Project_owners mailing list