Quantcast
Channel: WordPress.org Forums » [W3 Total Cache] Support
Viewing all articles
Browse latest Browse all 19291

Anthony Somerset on "[Plugin: W3 Total Cache] Clear Page Cache with Chron Job"

$
0
0

install wp-cli and then use the wp-cli commands provided by the plugin to clear the cache via the command line, and then you can set the command as a cron job

the command may look like this: wp --path=<path to wp doc root> w3-total-cache flush

you need to specify the path so that it knows which path to operate on as wp expects by default to work on the install found directly in the path you are in, which may not be the same as the home directory for the user that runs the cron task

also try making sure you have enabled category page purging as well in the page cache config


Viewing all articles
Browse latest Browse all 19291

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>