- After cloning the repo, run
composer install
- Add the nginx.conf file to your nginx config
- Compare the performance of the following routes:
Ideally the performance would be about the same for both routes, but currently (Slim 3.8.1) the first route is many times slower.
The reason for this is that Slim currently runs all the code to generate routes inside group and subgroup callbacks, even if the group/subgroup does not contain the route being navigated to.