summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://smcv.pseudorandom.co.uk/ <http://smcv.pseudorandom.co.uk/@web>2009-06-20 14:14:36 -0400
committerJoey Hess <joey@kitenet.net>2009-06-20 14:14:36 -0400
commit9a5e3fac022dc5745eac51dd45f79b07f7e24eba (patch)
treec6b626888aca05de466b572d8b1800b8733d39b0
parentc25371b3114137368a89b5c77c92e316f0d16475 (diff)
explain %depends and suggest [[!inline quick=yes]]
-rw-r--r--doc/forum/speeding_up_ikiwiki.mdwn16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/forum/speeding_up_ikiwiki.mdwn b/doc/forum/speeding_up_ikiwiki.mdwn
index c9ccc6fb1..e390f7b71 100644
--- a/doc/forum/speeding_up_ikiwiki.mdwn
+++ b/doc/forum/speeding_up_ikiwiki.mdwn
@@ -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]]