gpt4 book ai didi

php - 如何使用带标记的 Zend_Cache_Backend_TwoLevels?

转载 作者:搜寻专家 更新时间:2023-10-31 21:17:52 24 4
gpt4 key购买 nike

我正在考虑使用 two level cache后端,在 Zend Framework 应用程序中。

  1. 快速:APC
  2. 慢:文件

但我需要它来使用缓存标记,以便轻松清除缓存。那有可能吗?使用这些组合?

附言。我问这个问题是因为我读过:

Be careful : with this backend, "tags" are not supported for the moment as the "doNotTestCacheValidity=true" argument.

Zend Framework 官方文档中:Zend Cache APC Backend ,所以我想知道如何使用标签,因为它是缓存 IMO 中最有趣的部分。

最佳答案

我认为这是不可能的。你标记 Mikushi 的答案是正确的,但是从这个页面:

http://framework.zend.com/manual/en/zend.cache.backends.html#zend.cache.backends.memcached

Be careful : with this backend, "tags" are not supported for the moment as the "doNotTestCacheValidity=true" argument.

关于php - 如何使用带标记的 Zend_Cache_Backend_TwoLevels?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4620056/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com