Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有问题。symfony2、APCu (PHP 5.6) 或XCache哪个更好?都说 APC 是错误的选择,因为它被窃听了,等等……
我很混乱 ...
谢谢
APCu 是没有代码缓存的 APC(现在由 OpCache 处理,您应该在生产服务器上启用它)。它是可靠的代码,因为它基于一个非常可靠的代码库,只是比它的前身做得少。
在本地数据缓存方面,它的内容很少。根据所需的任务,Memcached 或 Redis 也可以成为缓存数据的有用工具。