Purge cache from the command line
-
Hi!
I very much liked the feature you introduced to purge the cache using the public function sg_cachepress_purge_cache().
However, when I wrote a simple SSH script to purge the SiteGround cache via terminal from my local computer, it didn’t work.
I investigated and found that the function sg_cachepress_purge_cache() returns immediately when called from the command line:
if ( $sg_cachepress_supercacher->environment->is_using_cli() )
return;Is there a reason for this limitation?
Best wishes,
Guido
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Purge cache from the command line’ is closed to new replies.