Yes, opcache is persistent.
Each PHP execution is independent: Yes. That's one of the main things that makes it perfect for serverless.
But it doesn't make it impossible to store the "compiled" files.
I invite you to read a bit about opcache, preloading and JIT in PHP.
:-D
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yes, opcache is persistent.
Each PHP execution is independent: Yes. That's one of the main things that makes it perfect for serverless.
But it doesn't make it impossible to store the "compiled" files.
I invite you to read a bit about opcache, preloading and JIT in PHP.
:-D