summaryrefslogtreecommitdiffstats
path: root/usr/local/www/index.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-11-21 17:05:21 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-11-21 17:05:21 -0500
commit880637d273abeeb2fd6c8fc79eb9ef82b758c144 (patch)
tree948a2f82ea13c18821302015151ebd5d0745615f /usr/local/www/index.php
parent980df75c74ef76020979f2f17cbb3ec77df54aa5 (diff)
downloadpfsense-880637d273abeeb2fd6c8fc79eb9ef82b758c144.zip
pfsense-880637d273abeeb2fd6c8fc79eb9ef82b758c144.tar.gz
Default to only system information and interfaces widgets. This reduces load time on RSPRO from 9+ seconds to 2.5
Diffstat (limited to 'usr/local/www/index.php')
-rwxr-xr-xusr/local/www/index.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index f6c6fe5..1a99763 100755
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -42,6 +42,12 @@
##|*MATCH=index.php*
##|-PRIV
+ // Turn on buffering to speed up rendering
+ ini_set('output_buffering','true');
+
+ // Start buffering with a cache size of 10094
+ ob_start(null, "10094");
+
## Load Essential Includes
require_once('guiconfig.inc');
require_once('notices.inc');
OpenPOWER on IntegriCloud