aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-02-05 16:10:30 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-02-05 16:10:30 -0500
commitc8ca79a403bbab14fe19b01b8a2526f187a9abc6 (patch)
treeabaea95ee6ebf599410abd3e443e1c4169fe88e9
parent3dd796e6377d20cd3ecd63ee486aa4933fa1baee (diff)
downloadikiwiki-c8ca79a403bbab14fe19b01b8a2526f187a9abc6.tar
ikiwiki-c8ca79a403bbab14fe19b01b8a2526f187a9abc6.tar.gz
response
-rw-r--r--doc/todo/RecentChanges_page_links_without_cgi_wrapper.mdwn21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/todo/RecentChanges_page_links_without_cgi_wrapper.mdwn b/doc/todo/RecentChanges_page_links_without_cgi_wrapper.mdwn
index 164d12f12..b37109032 100644
--- a/doc/todo/RecentChanges_page_links_without_cgi_wrapper.mdwn
+++ b/doc/todo/RecentChanges_page_links_without_cgi_wrapper.mdwn
@@ -2,4 +2,25 @@ Links to the changed page on RecentChanges only show up if the cgi wrapper is
enabled. It would be nice if links were also generated on wikis that do not use
the cgi. [[svend]]
+> It would be, but doing so would make updating the recentchanges page for
+> each commit a lot slower, or would result in there often being broken
+> links there.
+>
+> The broken links would happen if a page is removed.
+>
+> The speed issue is that currently each individual change in the
+> recentchanges page is built just once, when the change is made, and the
+> html for it is reused thereafter. To avoid broken links, it would need to
+> regenerate each change's html on each commit. That's 100x the overhead.
+> (Perhaps it's possible to be smarter about which need generation tho.)
+>
+> The best way to approach this that I can see ATM is to use the
+> [[plugins/404]] plugin to handle the broken links and then recentchanges
+> could avoid explicitly using the CGI. But this doesn't meet your use case
+> of having no CGI.
+>
+> If you're willing to live with broken links to removed pages, I suppose
+> that could be made an option..
+> --[[Joey]]
+
[[!tag wishlist]]