aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Render.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-02-02 23:40:57 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-02-02 23:40:57 -0500
commit6a7c3d1209ab15094c390fe56da0e5d56220c555 (patch)
tree0e14db72693d624f380110af46f2969f8ec69f47 /IkiWiki/Render.pm
parente61cf0b7dcb76cddb441850a0a7241d330541457 (diff)
downloadikiwiki-6a7c3d1209ab15094c390fe56da0e5d56220c555.tar
ikiwiki-6a7c3d1209ab15094c390fe56da0e5d56220c555.tar.gz
* 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.
Diffstat (limited to 'IkiWiki/Render.pm')
-rw-r--r--IkiWiki/Render.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm
index 6dc70beb5..17b60ee94 100644
--- a/IkiWiki/Render.pm
+++ b/IkiWiki/Render.pm
@@ -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);
}
} #}}}