Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalidate Zend OPcache to ensure saved version used #102

Closed
wants to merge 2 commits into from

Conversation

remicollet
Copy link
Contributor

When using an opcode cache, configuration files are cached.

So, after a configuration file is updated, its old content will be served by cached until invalidated, or checked.

With Zend Opcache, default check delay is 2"

opcache.revalidate_freq=2

And, it is common to have a greater value on production env.

This PR fix this (only for opcache, other opcode caches such as XCache or deprecated APC are not handled)

@slusarz
Copy link
Member

slusarz commented Oct 8, 2014

This should be abstracted to a common Horde utility class, so that backends other than just Zendf opcode cache will be supported.

@szepeviktor
Copy link
Contributor

@slusarz Could this be implemented in Horde?

@yunosh
Copy link
Member

yunosh commented Jun 13, 2016

Yes, in the way he explained.

@yunosh yunosh closed this Jun 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants