Q:

Laravel 5 Cached Routes not updating

I've cached my Laravel 5 routes by doing php artisan route:cache.
This went succesfull for quite a while and when I changed a route is could cache them again and it would all work like it should.
The problem is that I've moved some routes to another route group and it seems that they won't be cached for some reason.
I've tried to cache them again but it didn't work. I've also tried php artisan cache:clear but still not working.
Routes.php changes:
Route::group(['prefix' => 'api', 'middleware' => 'auth'], function () {
   Route::get('invites', 'InvitationController@get');
   Route::get('invites/check', 'InvitationController@check');
});

Changed to:
Route::group(['prefix' => 'api'], function () {
   Route::post('auth', 'Auth\AuthController@authenticate');
   Route::get('invites', 'InvitationController@get');
   Route::get('invites/check', 'InvitationController@check');
});

As you can see I've moved those invitation routes to the Route group without the Authenticate Middleware. When I cached the routes again, it still does execute the Auth Middleware even when they are moved out of the group..

A:

The right syntaxe to remove cached route in laravel 5.* is
php artisan route:clear

Regards

