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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user