From 32387dd845dd2bbd67d64f87d88114957be8a7c3 Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 11 Mar 2012 00:37:08 +0000 Subject: [PATCH] saving cache data and profiling data to disk can happen after the client gets the page --- index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.php b/index.php index 06663820..9895d7c7 100644 --- a/index.php +++ b/index.php @@ -100,6 +100,8 @@ try { $page->display(); $database->db->commit(); + // saving cache data and profiling data to disk can happen later + if(function_exists("fastcgi_finish_request")) fastcgi_finish_request(); _end_cache(); ctx_log_endok(); }