-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
PHP Preloading is coming in 7.4 #1805
Comments
More info from the same source: |
Since this is an emerging PHP features issue, cross-linking #1992 as it does contain some other upcoming PHP 7.4 features. |
This isn't something that Nebula can (or would) bundle, but here is a good starter reference for how to preload WordPress core files with PHP 7.4 opcache preloading: https://gist.github.com/fedek6/4dc1f34ba363659fab75cf72e1d6fbbb Important to note that you'll need to restart the server every time you want to reload the in-memory files– essentially running something like |
Closing this at this point since it is not Nebula-specific. I didn't finish setting it up on my server because there are multiple projects that include non-WP sites and also this being a development server it would require dumping the cache often. I also don't think that Nebula is large enough to make a much bigger dent than opcache alone. |
In PHP 7.4, we'll be able to preload server-side files to save some compiling time.
https://stitcher.io/blog/new-in-php-74#preloading-rfc
Not sure if we'll have to do anything specifically in Nebula to use this or if it'll just happen, but keep an eye out for it.
The text was updated successfully, but these errors were encountered: