Php7.2 memcached (not memcache) in plugins

i am trying to get memcached (php7.2/7.3) running in various setup for kirby 3.0.1 in plugins.

:ballot_box_with_check: mamp pro 4 has build in memcached and takes care of php.ini itself.
:ballot_box_with_check: homestead (apache) has memcached as well.
:ballot_box_with_check: in both cases i am successfully testing for the Memcached php class.

<?php
    if(class_exists("Memcached")) {
        echo "<!-- memcached -->";
    }
?>

:ballot_box_with_check: i am also setting the config option

return [
  'cache' => [
    'driver' => 'memcached'
  ]
];

:x: but the file cache for plugins gets generated non the less (files and folders in storage/cache/). i assume this also means the file cache is used and not the memcached cache as expected. any ideas?

Hooking in into this topic, as i’m interested in this as well. In the past, I’ve been trying to setup memcached for caching too, but were also confused in how to properly set this up and “see” what’s going on.

Any tips for tools to “monitor” or “log” memcached cache would be most welcome.

Maybe a tad more helpful; I know getkirby.com uses an APCu cache implementation. Whilst not the same; it can be a place to search for clues?

i think in found out why its not working. i assumed plugins would magically inherit the global cache type but they do not. i still have to test this later today though.