寻找基于PHP驱动程序的Cache Wrapper [英] Looking for a PHP driver based Cache Wrapper
问题描述
我正在寻找一种解决方案,以编写独立于缓存的PHP代码。
I am searching for a solution to code cache independent PHP code.
某些提供不依赖缓存的层的类或库。
Some kind of Class or Library that provides a cache independent Layer.
因此,我可以开始编码并在开始时使用基于文件的缓存,并在项目负载增加时切换到apc / eaccellerator / memcached。
So i can start coding and use a file based cache on the beginning and switch to apc/eaccellerator/memcached when the projects load goes up.
我知道,那不是很难自己编写代码,但这也是我相信这样的东西已经存在的原因。我希望使用已经测试过的解决方案:)
I know, thats not hard to code on your own, but thats also the reason why i believe that something like this already exists. And i would prefer using an already tested solution :)
谢谢您的输入!
编辑:
抱歉,但是我需要一个独立的库,该库应该与现有结构配合使用。
Sorry guys, but i need a standalone library which should play along nice with existing structures.
推荐答案
FluxBB的解决方案: https://github.com/fluxbb / cache
That of FluxBB: https://github.com/fluxbb/cache
这篇关于寻找基于PHP驱动程序的Cache Wrapper的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!