EditPage class/file. Trying to streamline these things into managable hunks of source...
on my home test box (worked fine on the real install anyway, but...)
and add support for showing the cached version of a page if unable to contact the database. Also add 'Vary: Accept-Encoding' to headers for every output, just to make sure.