Force no cache on generated content to prevent hilarious problems.
This commit is contained in:
parent
bad7be85c9
commit
04fac1a2e0
@ -263,7 +263,9 @@ sub run {
|
|||||||
my $content = $pageobj -> page_display();
|
my $content = $pageobj -> page_display();
|
||||||
|
|
||||||
print $self -> {"cgi"} -> header(-charset => 'utf-8',
|
print $self -> {"cgi"} -> header(-charset => 'utf-8',
|
||||||
-cookie => $self -> {"session"} -> session_cookies());
|
-cookie => $self -> {"session"} -> session_cookies(),
|
||||||
|
-expires => "now",
|
||||||
|
-Cache_Control => "no-cache");
|
||||||
|
|
||||||
$self -> {"endtime"} = time();
|
$self -> {"endtime"} = time();
|
||||||
my ($user, $system, $cuser, $csystem) = times();
|
my ($user, $system, $cuser, $csystem) = times();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user