From: Joey Hess Date: Wed, 23 Jun 2010 17:15:10 +0000 (-0400) Subject: clarify indexdb is cached info, rebuildable X-Git-Tag: 3.20100623~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0025798751dfc721aa81ce75f7baf87545bd1370;p=ikiwiki.git clarify indexdb is cached info, rebuildable --- diff --git a/doc/forum/tag_plugin:_rebuilding_autocreated_pages.mdwn b/doc/forum/tag_plugin:_rebuilding_autocreated_pages.mdwn index 02138326d..114837031 100644 --- a/doc/forum/tag_plugin:_rebuilding_autocreated_pages.mdwn +++ b/doc/forum/tag_plugin:_rebuilding_autocreated_pages.mdwn @@ -6,3 +6,6 @@ I have a bunch of tag pages autogenerated by the tag plugin. As part of a redesi > update them. --[[Joey]] >> Thanks. I thought about deleting `indexdb`, but hesitated to do that. According to [[tips/inside dot ikiwiki]], `indexdb` stores "all persistent state about pages". I didn't know if it's harmless to lose all persistent state. --dkobozev + +>>> The persistant state is best thought of as a cache, +>>> so it's safe to delete it. --[[Joey]] diff --git a/doc/tips/inside_dot_ikiwiki.mdwn b/doc/tips/inside_dot_ikiwiki.mdwn index b81ffae8d..a74d00f47 100644 --- a/doc/tips/inside_dot_ikiwiki.mdwn +++ b/doc/tips/inside_dot_ikiwiki.mdwn @@ -6,9 +6,10 @@ you need/want to. ## the index -`.ikiwiki/indexdb` contains a cache of information about pages, as well -as all persisitant state about pages. It used to be a (semi) human-readable -text file, but is not anymore. +`.ikiwiki/indexdb` contains a cache of information about pages. +This information can always be recalculated by rebuilding the wiki. +(So the file is safe to delete and need not be backed up.) +It used to be a (semi) human-readable text file, but is not anymore. To dump the contents of the file, enter a perl command like this.