d13235a0 by Jeff Balicki

cache

1 parent fbf6f891
...@@ -18,7 +18,7 @@ set :deploy_to, -> { "/var/www/html/production/#{fetch(:application)}" } ...@@ -18,7 +18,7 @@ set :deploy_to, -> { "/var/www/html/production/#{fetch(:application)}" }
18 set :log_level, :info 18 set :log_level, :info
19 19
20 # Put all shared files/directories here (e.g. uploads that need to go on the NFS drive) 20 # Put all shared files/directories here (e.g. uploads that need to go on the NFS drive)
21 set :linked_files, fetch(:linked_files, []).push('.env', 'wordfence-waf.php', 'wp-content/wp-cache-config.php') 21 set :linked_files, fetch(:linked_files, []).push('.env', 'wordfence-waf.php', 'wp-content/wp-cache-config.php' ,'wp-content/advanced-cache.php','wp-content/wp-cache-config.php')
22 set :linked_dirs, fetch(:linked_dirs, []).push('wp-content/wflogs','wp-content/uploads', 'wp-content/storage', 'wp-content/languages', 'wp-content/cache' , 'wp-content/wp-rocket-config') 22 set :linked_dirs, fetch(:linked_dirs, []).push('wp-content/wflogs','wp-content/uploads', 'wp-content/storage', 'wp-content/languages', 'wp-content/cache' , 'wp-content/wp-rocket-config')
23 23
24 namespace :deploy do 24 namespace :deploy do
......
...@@ -29,7 +29,7 @@ if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false) ...@@ -29,7 +29,7 @@ if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
29 require_once(__DIR__ . '/vendor/autoload.php'); 29 require_once(__DIR__ . '/vendor/autoload.php');
30 (new \Dotenv\Dotenv(__DIR__.'/'))->load(); 30 (new \Dotenv\Dotenv(__DIR__.'/'))->load();
31 31
32 define( 'WPCACHEHOME', __DIR__.'/wp-content/plugins/wp-super-cache/' ); 32
33 33
34 // ** MySQL settings - You can get this info from your web host ** // 34 // ** MySQL settings - You can get this info from your web host ** //
35 /** The name of the database for WordPress */ 35 /** The name of the database for WordPress */
...@@ -58,7 +58,7 @@ define('ALLOW_UNFILTERED_UPLOADS', true); ...@@ -58,7 +58,7 @@ define('ALLOW_UNFILTERED_UPLOADS', true);
58 define( 'DISALLOW_FILE_MODS', true ); 58 define( 'DISALLOW_FILE_MODS', true );
59 define( 'AUTOMATIC_UPDATER_DISABLED', true ); 59 define( 'AUTOMATIC_UPDATER_DISABLED', true );
60 define( 'WP_AUTO_UPDATE_CORE', false ); 60 define( 'WP_AUTO_UPDATE_CORE', false );
61 61 define('WP_CACHE', true);
62 62
63 /**#@+ 63 /**#@+
64 * Authentication Unique Keys and Salts. 64 * Authentication Unique Keys and Salts.
......