Robust fix for PML in TikiĀ ?

A permanent fix would require some major work to Tiki. The page builder needs to be re-engineered to build the HTML body first (into a buffer), keeping track of usage of things like phplayers, then once the body is done, prepare the HTML header (with only the appropriate includes) and prepend to the buffer. Finally, send the HTTP headers followed by HTTP body (from the buffer). This approach has a number of other benefits:

  1. Possible to calculate the content-length and content-md5 and include those HTTP headers.
  2. Might make some of the caching algorithms simpler
  3. If #2 is true, once cached, sending HTTP HEAD responses is much easier
  4. If #2 is true, once cached, sending HTTP caching headers is possible

(i'm not usre what's this about and if it's really needed still) luci


Created by: Last Modification: Tuesday 01 August 2006 21:04:13 GMT-0000 by Marc Laporte
List Slides