]> sipb.mit.edu Git - ikiwiki.git/commitdiff
explain %depends and suggest [[!inline quick=yes]]
authorhttp://smcv.pseudorandom.co.uk/ <http://smcv.pseudorandom.co.uk/@web>
Sat, 20 Jun 2009 18:14:36 +0000 (14:14 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 20 Jun 2009 18:14:36 +0000 (14:14 -0400)
doc/forum/speeding_up_ikiwiki.mdwn

index c9ccc6fb190e9f8361b566301a70e1c44fd1c862..e390f7b71df47b2c327f87e91f4bdbb083f7fc1c 100644 (file)
@@ -73,3 +73,19 @@ wrapper.
 
 
 -- [[Jon]]
+
+> Dependencies go in the `%IkiWiki::depends` hash, which is not exported. It
+> can also be dumped out as part of the wiki state - see [[tips/inside_dot_ikiwiki]].
+>
+> It's a map from page name to increasingly complex pagespec, although
+> the `optimize-depends` branch in my git repository changes that to a
+> map from a page name to a *list* of pagespecs which are automatically
+> or'd together for use (this at least means duplicates can be weeded out).
+>
+> See [[todo/should_optimize_pagespecs]] for more on that.
+>
+> I've been hoping to speed up IkiWiki too - making a lot of photo albums
+> with my [[plugins/contrib/album]] plugin makes it pretty slow.
+>
+> One thing that I found was a big improvement was to use `quick=yes` on all
+> my `archive=yes` [[ikiwiki/directive/inline]]s. --[[smcv]]