开发者

How come eAccelerator works after changing files even though cache is on?

开发者 https://www.devze.com 2023-03-29 06:09 出处:网络
I have eAccelerator installed on an apache web server for PHP. If I look at the phpinfo() output, I can see that all files are cached.

I have eAccelerator installed on an apache web server for PHP.

If I look at the phpinfo() output, I can see that all files are cached.

I wonder to myself,

If they are cached,开发者_如何学编程 how come when I make changes to the PHP files it

works immediately without needing to flush the cache?

Does eAccelerator check the timestamp of the files? and if so,

is there a way to disable it and manually flush the cache to increase performace?

(by cancelling the timestamp checking)


eAccelerator checks the timestamp of files to figure out if it needs to recompile it based on what it has in cache. Manually managing this process sounds like it would actually slow things down.

0

精彩评论

暂无评论...
验证码 换一张
取 消