Search Cache CLI
Controlling the Ajax Search Pro cache via wordpress cli
Command synopsis
wp asp cache <clear|purge|info>To get all the parameters and flags directly in the command line run:
wp help asp cacheGetting information about the cache
To display verbose information about the search cache run:
wp asp cache infoThis will output cache hit/miss statistics and the total number of cached items.
Removing expired items from the cache
To clear the cache (aka. remove expired records), run the following command:
wp asp cache clearThis command will only delete items, which have been expired from the cache storage.
Removing all items from the cache (purge)
To purge the cache, run this command:
wp asp cache purgeThis command will remove all items from cache, regardless of their expiration.
Last updated