From 3e298365934ba928700d01730be8649bd72ae9b6 Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 25 Jul 2007 01:55:45 +0000 Subject: move some bugs to todo items add a wishlist tag, that can be used to separate some todos off onto a wishlist page --- .../Post-compilation_inclusion_of_the_sidebar.mdwn | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 doc/todo/Post-compilation_inclusion_of_the_sidebar.mdwn (limited to 'doc/todo/Post-compilation_inclusion_of_the_sidebar.mdwn') diff --git a/doc/todo/Post-compilation_inclusion_of_the_sidebar.mdwn b/doc/todo/Post-compilation_inclusion_of_the_sidebar.mdwn new file mode 100644 index 000000000..7586c060b --- /dev/null +++ b/doc/todo/Post-compilation_inclusion_of_the_sidebar.mdwn @@ -0,0 +1,30 @@ +In some sites (mine, for example), the pages are quasi-static, while the sidebar must be updated at each commit +(because it contains some lists, like "last posts" or "last updates", or a tagcloud). As this sidebar is included +in every page of the site, many commits can potentialy leat to a full re-compilation.... + +I think a sidebar included after the compilation (via a SSI mechanism for example) would make sense and +reduce the dependencies. + +Different things could be possible: + +* output as .shtml instead of .html +* ignore the sidebar->page dependency links +* consider the *real* dependencies; pageA may include the title (only) of pageB, but don't need to be recompiled +after each typo correction on pageB. + +shtml output with open cgi web access is a potential security hole and can DoS the site, but it's not a problem for a +single-editor site. + +NicolasLimare + +> This is a good idea, though sadly not portable enough to be the default. +> Especially if the only way to do it is with .shtml. +> But I really like the idea of not rebuilding the sidebar all the time. +> Definitly a TODO, for me, if I can figure out how to do it. Patches +> eagerly accepted. +> +> I have implemented a htmlext configuration item, that lets you control +> what extension ikiwiki uses for output html pages. So in theory, a +> sidebar could be done as you describe using .shtml. --[[Joey]] + +[[wishlist]] -- cgit v1.2.3