This commit is contained in:
Starbeamrainbowlabs 2019-01-15 23:03:53 +00:00
parent ca955f3c89
commit 0a5588a905
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,8 @@ class FetchData implements IAction {
$response = json_encode($data);
// 4: Send response
// TODO: Add cache-control headers here in production mode only
header("content-type: application/json");
header("x-time-taken: " . PerfFormatter::format_perf_data($start_time, $start_handle, $start_encode));
echo($response);