From 0a5588a905fe5c893ba6329e35497a731451b698 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Tue, 15 Jan 2019 23:03:53 +0000 Subject: [PATCH] Add todo --- logic/Actions/FetchData.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/logic/Actions/FetchData.php b/logic/Actions/FetchData.php index 192cb46..bb3b858 100644 --- a/logic/Actions/FetchData.php +++ b/logic/Actions/FetchData.php @@ -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);