]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/mtime.mdwn
similarity to internal pages
[ikiwiki.git] / doc / todo / mtime.mdwn
1 It'd be nice if the mtime of the files ikiwiki renders matched the mtime of
2 the source files.
3
4 However, this turns out to be more complex than just calling utime() a few
5 times. If a page inlines other, younger pages, then having an older mtime
6 means that an old version of it will be kept in web caches, forcing
7 annoying shift-reloads to see the changed content (for example).
8
9 And it's not just inline. The template plugin means that a change to a
10 template can result in changes to how a page gets rendered. The version
11 plugin changes page content without any younger page being involved. And
12 editing one of the html templates and rebuilding the wiki can change every
13 page. All of these need to be reflected in the file mtime to avoid caching
14 problems.
15
16 [[!tag wishlist]]