The best Memcached delete command Tutorial In 2024, In this tutorial you can learn Memcached delete command
Memcached delete command is used to delete an existing key (key).
The basic syntax delete command is as follows:
delete key [noreply]
A plurality of key separated by a space, as follows:
gets key1 key2 key3
Parameters are as follows:
In the following examples, we use w3big as the key, set the expiration time of 900 seconds. Then we use the delete command to delete the key.
set w3big 0 900 9 memcached STORED get w3big VALUE w3big 0 9 memcached END delete w3big DELETED get w3big END delete w3big NOT_FOUND
Output information Description: