1 --- git.git/gitweb/gitweb.perl 2011-01-10 18:45:22.492147614 -0800
2 +++ git.git/gitweb/gitweb.perl 2011-01-10 18:46:08.996147321 -0800
4 $cache_mtime = stat($cache_file)->mtime;
6 if (defined $cache_mtime && # caching is on and $cache_file exists
7 - $cache_mtime + $cache_lifetime*60 > $now &&
8 + $cache_lifetime > 1 &&
9 (my $dump = retrieve($cache_file))) {
11 $stale = $now - $cache_mtime;