/wp-content/plugins/
directoryDo you need to manually clear your server-side caches everytime you modify your site, what about automating it, or need to do it in CLI? If yes, then this is for you.
Shell into your server and run the command wp the_cache purge
. Please note that if you are a root user, you may need to add the --allow-root
argument. Also note, that if yout site is a network, you will need to add the url argument for the site you want to purge... --url=http(s)://yoursite.com
tcp_cron_cache_purge
tcp_cron_log_purge
tcp_long_cache_purge
tcp_post_purge
hookwp the_cache purge
opcache.restrict_api
to be configured. Disabled the warning on
servers where it is nottcp_pre_purge
, tcp_post_purge
, tcp_pre_hosting_purge
, tcp_post_hosting_purge
, tcp_pre_plugin_purge
,
tcp_post_plugin_purge
, tcp_pre_wp_purge
, tcp_post_wp_purge
, tcp_pre_php_purge
, tcp_post_php_purge
,
tcp_pre_pagespeed_purge
, tcp_post_pagespeed_purge
, tcp_pre_nginx_purge
, tcp_post_nginx_purge
, tcp_pre_file_purge
,
tcp_post_file_purge