You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Midgard is used together with the Runtime, all execution for the site is done in a single PHP AppServer process. This means classes are loaded only once.
This is however an issue when we think of users editing their PHP snippets using the MVC code editor. As the classes are loaded, and stay loaded, the only way to get their code changes to register is by restarting the server.
If we had a method for unregistering classes then this wouldn't be necessary, class could just be unregistered and registered again as part of cache invalidation MVC does.
The text was updated successfully, but these errors were encountered:
When Midgard is used together with the Runtime, all execution for the site is done in a single PHP AppServer process. This means classes are loaded only once.
This is however an issue when we think of users editing their PHP snippets using the MVC code editor. As the classes are loaded, and stay loaded, the only way to get their code changes to register is by restarting the server.
If we had a method for unregistering classes then this wouldn't be necessary, class could just be unregistered and registered again as part of cache invalidation MVC does.
The text was updated successfully, but these errors were encountered: