I have a complex object that I create in a PHP script. I am looking for a way to store this object such that subsequent requests do not have to recreate it, or spend time un
You can rewrite your app to ReactPHP what create webserver in one long-running PHP process (just like Node.js or Web.py). Then you can build your big object once (on server start) as a global variable and access it from request event handlers.