On 11.07.2012 03:30, Nikola Smolenski wrote: > On 10/07/12 23:14, Daniel Kinzler wrote: >> On 10.07.2012 13:58, Antoine Musso wrote: >>> Have you considered generating a PHP template and just cache that? Then >>> all hits would be served directly by the very simple PHP template? >> >> Could you elaborate on that idea? I'm not sure I fully understand what you >> are >> suggesting. > > I'm not sure if that is what he meant, but there exist an idea of creating a > new > level of parser cache, so that when a page is parsed, the parser would create > and cache HTML template that is static, and a mapping to non-static objects, > and > then when a local version is needed, it would just replace the objects without > recreating HTML.
I can imagine that this may be an advantage over re-parsing wikitext. We however generate html from a json-like data structure. I'd expect this to be faster than processing another level of templating... -- daniel _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
