]> sipb.mit.edu Git - ikiwiki.git/commitdiff
* Revert preservation of input file modification times in output files,
authorJoey Hess <joey@kodama.kitenet.net>
Sun, 3 Feb 2008 04:40:57 +0000 (23:40 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Sun, 3 Feb 2008 04:40:57 +0000 (23:40 -0500)
  since this leads to too many problems with web caching, especially with
  inlined pages. Properly solving this would involve tracking every page
  that contributes to a page's content and using the youngest of them all,
  as well as special cases for things like the version plugin, and it's just
  too complex to do.

IkiWiki/Render.pm
debian/changelog

index 6dc70beb5bfd2f81de8a4241946280c20daf56d6..17b60ee941dc7b789f81871650c54c7279670d7c 100644 (file)
@@ -203,7 +203,6 @@ sub render ($) { #{{{
                
                my $output=htmlpage($page);
                writefile($output, $config{destdir}, genpage($page, $content));
-               utime($pagemtime{$page}, $pagemtime{$page}, $config{destdir}."/".$output);
        }
        else {
                my $srcfd=readfile($srcfile, 1, 1);
@@ -229,7 +228,6 @@ sub render ($) { #{{{
                                }
                        }
                });
-               utime($pagemtime{$file}, $pagemtime{$file}, $config{destdir}."/".$file);
        }
 } #}}}
 
index 46fcf37dd4e87e4ff9dbdf65e5ea1e7dd1875f0f..b7096aec46212e04418b3f06648bd9207078dddc 100644 (file)
@@ -1,3 +1,14 @@
+ikiwiki (2.31) UNRELEASED; urgency=low
+
+  * Revert preservation of input file modification times in output files,
+    since this leads to too many problems with web caching, especially with
+    inlined pages. Properly solving this would involve tracking every page
+    that contributes to a page's content and using the youngest of them all,
+    as well as special cases for things like the version plugin, and it's just
+    too complex to do.
+
+ -- Joey Hess <joeyh@debian.org>  Sat, 02 Feb 2008 23:36:31 -0500
+
 ikiwiki (2.30) unstable; urgency=low
 
   [ Joey Hess ]