Commit 59621100 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add some no-cache pragmas when we spit out the logfile. I was having

some trouble with old logs getting cached in the browser.
parent d651dd42
......@@ -55,6 +55,9 @@ if (! TBExptLogFile($pid, $eid)) {
}
header("Content-Type: text/plain");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
ignore_user_abort(0);
$retval = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment