0

Can Xcache or other php opcode cachers auto-reload php opcode when php source code has changed?

1 Answer 1

2

Most opcode caches have a configuration setting to determine whether they should refresh their cached entry for a script that has been changed. Typically this would be set to happen automatically in a development environment; but there's an overhead to doing the check, so it's normally disabled in a production environment.

xcache has the ttl setting, 0 for a production environment, else refresh after x seconds

xcache.ttl 
    seconds Ttl (Time To Live) value for the php entry (cached opcodes of a file), 0=forever. 
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.