Browse Source

enable caching

master
parent
commit
12b9f26b64
2 changed files with 13 additions and 0 deletions
  1. +3
    -0
      tasks/setup_Debian.yml
  2. +10
    -0
      templates/config.php.j2

+ 3
- 0
tasks/setup_Debian.yml View File

@@ -20,6 +20,9 @@
- ca-certificates - ca-certificates
- sudo - sudo
- php-apcu - php-apcu
- memcached
- php-memcached
notify: restart apache2


- name: remove default page - name: remove default page
file: file:


+ 10
- 0
templates/config.php.j2 View File

@@ -314,4 +314,14 @@ $CONFIG = array(
'upgrade.disable-web' => true, 'upgrade.disable-web' => true,




/**
* Enable memcache
*/
'memcache.local' => '\OC\Memcache\APCu',
'memcache.distributed' => '\OC\Memcache\Memcached',
'memcached_servers' => array(
array('localhost', 11211),
),


); );

Loading…
Cancel
Save