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.
当 php 源代码发生更改时,Xcache 或其他 php opcode 缓存器能否自动重新加载 php opcode?
大多数操作码缓存都有一个配置设置,以确定它们是否应该为已更改的脚本刷新其缓存条目。通常,这将设置为在开发环境中自动发生;但是进行检查会产生开销,因此通常在生产环境中将其禁用。
xcache 有 ttl 设置,0 用于生产环境,否则在 x 秒后刷新
xcache.ttl seconds Ttl (Time To Live) value for the php entry (cached opcodes of a file), 0=forever.