…sorry, not as drop-in, only as plugin
Hello @robert1112,
you can add it to the functions.php of your theme or (preffered) to an own plugin (as drop-in): https://developer.wordpress.org/plugins/the-basics/
greetings
Ben
@tillkruess i’m thinking about a flushdb and warmup after each wordpress update, too.
@robert1112, take a look at here. If you have only only one database, you can use the command flushall.
@tillkruess, thanks for info. occasionally after wordpress update or occasionally at all? i’m thinking about a nightly warmup after flushdb -n x. is it possible to backup redis database before flush and restore that backup after flush?
Thanks a lot. It’s resolved!