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:以千字节为单位测量对象/数组的大小?

windows - 找不到类 'Memcached'-(php 5.4.9,windows 7)

PHP 在远程网页中搜索字符串

php - 亚马逊 MWS 错误 SignatureDoesNotMatch

php - Zend Framework 3 Xampp 数据库连接

php - 使用带 Zend_Db_Table 的 DataMapper 与仅直接使用带数据库适配器的 DataMapper 相比有什么优势?

joomla - 如何在Joomla缓存设置中设置两个memcached服务器主机?

php - 未知 curl 错误

php - MySQL 选择预选结果的第二个计数

model-view-controller - Zend 框架 : How do I utilize MVC for our mobile website