Writing an api using routes similar to Laravel. Right now I am reloading the routes, controllers, methods with each request. Obviously this is very dumb, but I can't find a way to be able to read in the persistent data one time and keep it in between requests.
tl;dr: How do I keep route collections around between requests to prevent multiple collection adds every request. Would like to just grab the collection with each new request.