1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 01:30:32 +02:00

Experimental JS and CSS caching for improved performance. Currently disabled by default.

This commit is contained in:
Cameron
2015-06-03 15:44:07 -07:00
parent f938cc320f
commit 7cfcd1fd23
3 changed files with 154 additions and 5 deletions

View File

@@ -314,6 +314,8 @@ foreach($CSSORDER as $val)
unset($CSSORDER);
e107::getJs()->renderCached('css');
if(deftrue('e_DEVELOPER'))
{
echo "\n\n<!-- ======= [JSManager] FOOTER: Remaining JS ======= -->";
@@ -321,6 +323,8 @@ if(deftrue('e_DEVELOPER'))
// [JSManager] Load JS Footer Includes by priority
e107::getJs()->renderJs('footer', true);
e107::getJs()->renderCached('js');
// [JSManager] Load JS Footer inline code by priority
e107::getJs()->renderJs('footer_inline', true);