I'm writing template
library based on XML. But it's not very efficient to create new
DomDocument, load XML template, process it and show on every page hit.
XML parsing is not very fast, and because I'm parsing XHTML with
entities, all DTD's are parsed too. I thought about something similar
to
On Wed, October 5, 2005 8:11 am, Petr Smith wrote:
is it possible to cache parsed XML files somehow?
I think this is the wrong question...
I mean, OF COURSE, it's possible to cache them SOMEHOW.
You could toss them in your file system, or a database, insert a
machine with squid on it into the
it's not working at all. And it could never work. I don't think it's
funny to write false advices to people every other week.
I've installed APC cache, tried to save XML. It was not working.
apc_fetch returned NULL every time.
[snip]
When I looked into documentation for APC - there is this
Hi,
is it possible to cache parsed XML files somehow? I'm writing template
library based on XML. But it's not very efficient to create new
DomDocument, load XML template, process it and show on every page hit.
XML parsing is not very fast, and because I'm parsing XHTML with
entities, all
passes a reference to itself to another object).
If you figure out a way, please let me/us know... *sigh*
-Original Message-
From: Petr Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 05, 2005 6:11 AM
To: php-general@lists.php.net
Subject: [PHP] caching parsed XML files
Petr Smith wrote:
is it possible to cache parsed XML files somehow? I'm writing template
library based on XML. But it's not very efficient to create new
DomDocument, load XML template, process it and show on every page hit.
XML parsing is not very fast, and because I'm parsing XHTML with
Jasper Bryant-Greene wrote:
Petr Smith wrote:
is it possible to cache parsed XML files somehow? I'm writing template
library based on XML. But it's not very efficient to create new
DomDocument, load XML template, process it and show on every page hit.
XML parsing is not very fast, and
7 matches
Mail list logo