php - "Automatic cleaning is not available/necessary with this backend"是什么意思? (对于内存缓存)

标签 php zend-framework memcached

我已经在我的 php zend 代码中安装了内存缓存。似乎没有错误。但是日志中有一条警告说

Zend_Cache_Core::save() / automatic cleaning is not available/necessary with this backend.

这到底是什么意思?

最佳答案

Zend Cache支持不同的后端存储设备,包括memcache、文件存储、APC等。

每个都有自己的实现 - 正如您在 Zend 库中看到的那样 - 显然内存缓存实现不支持自动清理。

你可以在这里看到代码:Zend\Cache\Backend\Memcached.php

关于php - "Automatic cleaning is not available/necessary with this backend"是什么意思? (对于内存缓存),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1821844/

相关文章:

php - 无法在magento中查看订单

mysql - Zend_Date 和 Cronjob 的异常行为

php - zend 框架 : how to prepare and execute WHERE IN clause?

php - 在 View 助手中获取请求信息

python - 在Google App Engine上同时使用memcached和taskqueue

java - Memcached 与 Spring

php - 在 Codeigniter 中使用 PHPass 散列密码

php - mysql字段数据类型

php - 实例化目录中的所有类

python - Memcached不遵守元组的顺序