diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-03-22 15:20:29 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-03-24 10:58:11 +0100 |
commit | 242f8964cf8e98726a4d6e51cfd5200b17211e3e (patch) | |
tree | a18c464b735fc69589e4bf09401acc54a970bb5e /lib/private/TemplateLayout.php | |
parent | 48158c8becff9bab6dd6b3d3cd7047aca1290dfd (diff) | |
download | nextcloud-server-242f8964cf8e98726a4d6e51cfd5200b17211e3e.tar.gz nextcloud-server-242f8964cf8e98726a4d6e51cfd5200b17211e3e.zip |
Add caching
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r-- | lib/private/TemplateLayout.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php index 064e590b20a..d172da1184b 100644 --- a/lib/private/TemplateLayout.php +++ b/lib/private/TemplateLayout.php @@ -253,7 +253,8 @@ class TemplateLayout extends \OC_Template { array( \OC::$SERVERROOT => \OC::$WEBROOT ), new JSCombiner( \OC::$server->getAppDataDir('js'), - \OC::$server->getURLGenerator() + \OC::$server->getURLGenerator(), + \OC::$server->getMemCacheFactory()->create('JS') ) ); $locator->find($scripts); |