commit | 1288fe36214e0c8a22edec16da209081930e17c9 | [log] [tgz] |
---|---|---|
author | vlakoff <vlakoff@gmail.com> | Mon Jul 23 16:22:06 2012 +0200 |
committer | vlakoff <vlakoff@gmail.com> | Mon Jul 23 16:22:06 2012 +0200 |
tree | 1c455f0118963bc0b640b64115488308b1b9cfb8 | |
parent | ede49ba66b127535f3430e20aac72ceed2c4611a [diff] [blame] |
output->_display_cache() optimization faster method to remove the timestamp from the content to be served
diff --git a/system/core/Output.php b/system/core/Output.php index 5ec8c4b..2bf4e99 100644 --- a/system/core/Output.php +++ b/system/core/Output.php
@@ -575,7 +575,7 @@ } // Display the cache - $this->_display(str_replace($match[0], '', $cache)); + $this->_display(substr($cache, strlen($match[0]))); log_message('debug', 'Cache file is current. Sending it to browser.'); return TRUE; }