Comment and cleanup code, add per-page cache option. Update twig/php-markdown.