aboutsummaryrefslogtreecommitdiffstats
path: root/html
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-06-11 12:15:19 +0000
committerRomain d'Alverny <rda@mageia.org>2012-06-11 12:15:19 +0000
commitdb06be5861fb7d780871cd39ef185371bb31e39c (patch)
treeddef45762c563dcb69b4c698cd70483dd8e897d7 /html
parent12e18091b138db4e565f9344f0d45152ca4d8a49 (diff)
downloadnav-db06be5861fb7d780871cd39ef185371bb31e39c.tar
nav-db06be5861fb7d780871cd39ef185371bb31e39c.tar.gz
nav-db06be5861fb7d780871cd39ef185371bb31e39c.tar.bz2
nav-db06be5861fb7d780871cd39ef185371bb31e39c.tar.xz
nav-db06be5861fb7d780871cd39ef185371bb31e39c.zip
apache_note() time and cache uses
Diffstat (limited to 'html')
-rw-r--r--html/index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/html/index.php b/html/index.php
index dcdbb35..2de3938 100644
--- a/html/index.php
+++ b/html/index.php
@@ -2,6 +2,8 @@
/**
*/
+$t0 = microtime();
+
/** Below variables are defined after the document variables. */
/** URL of the document calling the service. */
@@ -32,3 +34,5 @@ header('Content-Type: text/html;charset=utf-8');
header(sprintf('Expires: %s', gmdate('r', strtotime('+1 day'))));
echo _mgnav_html($wrap, $lang, null, 'www.mageia.org', NCache::build('var/tmp/cache'));
+
+apache_note('navMakeTime', number_format(microtime() - $t0, 6)); \ No newline at end of file