Template Compressor
PROBLEM: Pages are produced with huge amounts of white space, comments, etc., bloating the HTML, load time, and bandwidth.
SOLUTION: Compress it. Remove whitespace, etc.
PROBLEM: This takes CPU time.
SOLUTION: Precompress the templates. That is, store two copies of each template. A "master", which is showed when you edit, and a "compressed", which is generated each time you save a new template (or edit one), without whitespace and comments. The compressed one is actually used.
Anyone up to the challenge?
|