That is in sync with the apache configuration.
-last_modified => strftime("%a, %d %b %Y %T %z",
localtime($last_modified)),
-expires => strftime("%a, %d %b %Y %T %z",
- localtime($last_modified + (12*3600))),
+ localtime($last_modified + (365*24*3600))),
);
#use Data::Dumper;
#print '<pre>'.Dumper(\%ENV, \%page_content, get_all_messages()).'</pre>';
$headers{'-content-length'} = $size;
$headers{'-vary'} = 'negotiate,accept-language';
$headers{'-last-modified'} = strftime("%a, %d %b %Y %T %z", localtime($mtime));
- $headers{'-expires'} = strftime("%a, %d %b %Y %T %z", localtime($mtime+(12*3600)));
+ $headers{'-expires'} = strftime("%a, %d %b %Y %T %z", localtime($mtime+(365*24*3600)));
print header( %headers );
binmode INDEX;