mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-05-01 19:12:44 +02:00
Change in Cache-Control header
This commit is contained in:
@@ -58,7 +58,7 @@ sub startup {
|
||||
|
||||
my $headers = Mojo::Headers->new();
|
||||
if ($nocache) {
|
||||
$headers->add('Cache-Control' => 'no-cache');
|
||||
$headers->add('Cache-Control' => 'no-cache, no-store');
|
||||
} else {
|
||||
$headers->add('Expires' => $expires);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user