Posted by CptDondo on 12/06/06 16:37
I am working on an embedded system. The entire configuration for the
system is stored in an XML file, which is pretty long.
It takes about 3 seconds to open the file using domxml_open_file.
Breaking the file into smaller files is not possible; a single XML file
is a part of the design requirement.
Right now we're opening and freeing the file every time any data is
requested from the file, which is quite often. This means that the user
ends up waiting about 5 seconds total before the page is generated.
It would be nice if we could open the file once per session, and keep
the file open throughout the session, rereading only when the file on
disk changes.
Is this possible?
Thanks,
--Yan
[Back to original message]
|