May 17, 2021 Memcached
The Memcached flush_all command is used to clean up all key-value (key-value) pairs in the cache.
The command provides an optional parameter, time, for cleaning up the cache after a set time.
flush_all syntax format of the command is as follows:
flush_all [time] [noreply]
Clean up the cache:
set w3cschool 0 900 9 memcached STORED get w3cschool VALUE w3cschool 0 9 memcached END flush_all OK get w3cschool END