Latest web development tutorials

Memcached flush_all command

Allkey Memcached flush_all command is used for cleaning cache => value (key => value)pairs.

This command provides an optional parametertime, for performing cache cleanup operation after the time established.

grammar:

The basic syntax flush_all command is as follows:

flush_all [time] [noreply]

Examples

Clear the cache:

set w3big 0 900 9
memcached
STORED
get w3big
VALUE w3big 0 9
memcached
END
flush_all
OK
get w3big
END