Hi all,
As suggested in the recursive parser thread, the current parser can be split into the minimal code to serve a cached page, and load "extender" classes if it needs to be served from database.
This is a first approach, nothing really completed, but I would love some feedback.
A number of (Tattoo API) functions are still missing (which are rarely used anyway), but it should work on a default modx install with the attached template for the modified tag call convention stuff....
Greetz,
Remon
P.S.
Altough it’s by no means finished, I like to have a backup somewhere, so...
Good day everyone!
Some quick hacks on the parser today.
I said the page cache wasn’t working but it did work actually! ;-)
Attached the reworked files in first post.
Have a nice weekend!
Remon
(P.S. siteCache.idx.php is 146 KB here, way too large. Can’t we load snippet/chunk cache etc per snippet/chunk etc?
siteCache.idx.php was originally used for site config?
Then we should restore it to that functionallity IMHO, since it adds to the processing time _and_ memory consumption quite a bit!)