d13235a0 by Jeff Balicki

cache

1 parent fbf6f891
......@@ -18,7 +18,7 @@ set :deploy_to, -> { "/var/www/html/production/#{fetch(:application)}" }
set :log_level, :info
# Put all shared files/directories here (e.g. uploads that need to go on the NFS drive)
set :linked_files, fetch(:linked_files, []).push('.env', 'wordfence-waf.php', 'wp-content/wp-cache-config.php')
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')
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')
namespace :deploy do
......
......@@ -29,7 +29,7 @@ if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
require_once(__DIR__ . '/vendor/autoload.php');
(new \Dotenv\Dotenv(__DIR__.'/'))->load();
define( 'WPCACHEHOME', __DIR__.'/wp-content/plugins/wp-super-cache/' );
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
......@@ -58,7 +58,7 @@ define('ALLOW_UNFILTERED_UPLOADS', true);
define( 'DISALLOW_FILE_MODS', true );
define( 'AUTOMATIC_UPDATER_DISABLED', true );
define( 'WP_AUTO_UPDATE_CORE', false );
define('WP_CACHE', true);
/**#@+
* Authentication Unique Keys and Salts.
......