Using Phalcon\Cache\Backend\Libmemcached with vanilla PHP Memcached

Hello,

Using Memcached class to collect & process remote data via cron. Using Phalcon later to present this data.

Phalcon can not access data set by the former when configured via the example on https://docs.phalconphp.com/en/latest/api/Phalcon%5Cache%5Backend%5Libmemcached.html

\Phalcon\Cache\Frontend\Data serializes data, which obviously doesn't happen in non-Phalcon memcached. To interoperate with keys set outside Phalcon, use \Phalcon\Cache\Frontend\None as your frontend.

Just a heads up for anyone doing similar. Loving Phalcon

-Ty

edited Mar '16

You can use \Phalcon\Cache\Frontend\Json as frontend. Almost every environment can intercact with Json.