apc缓存类 - 缓存的php的opcode什么时候会更新?

WBOY
Release: 2016-06-06 20:25:20
Original
1305 people have browsed it

缓存的php的opcode什么时候会更新?

回复内容:

缓存的php的opcode什么时候会更新?

主要看你用什么进行缓存的了,在PHP官方的Opcache里,可以通过 php.ini 的 opcache.revalidate_freq 进行设置检查更新的周期

他有自己的查询周期。

当然周期时间你可以设定。

运气好的话,你发完代码刚好赶到opcode刷新缓存代码的时间。

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!