*BSD repo updates
This commit is contained in:
parent
147911b750
commit
1f8bd0ef9a
3 changed files with 21 additions and 6 deletions
10
www/index.pl
10
www/index.pl
|
|
@ -31,12 +31,10 @@ TUWF::set(
|
|||
|
||||
|
||||
TUWF::hook before => sub {
|
||||
if(tuwf->{_TUWF}{http}) {
|
||||
if(tuwf->resFile("$ROOT/www", tuwf->reqPath)) {
|
||||
tuwf->resHeader('Cache-Control' => 'max-age=31536000');
|
||||
tuwf->done;
|
||||
}
|
||||
}
|
||||
if(tuwf->resFile("$ROOT/www", tuwf->reqPath)) {
|
||||
tuwf->resHeader('Cache-Control' => 'max-age=31536000');
|
||||
tuwf->done;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue