BlackXero
BlackXero

Reputation: 880

Laravel cached routes file access, version 5.8

Okay so I want to access the cached file of routes in Laravel version 5.8 I know that there is somewhere Laravel saves this file but I am not sure where to look for it. I already tried to check the these folders

Storage
Bootstrap

But I couldn't find the route cache file. All I find is cached views and cached services and packages but there is no cache file.

Really Thank you for your time :)

Upvotes: 2

Views: 239

Answers (1)

JorisJ1
JorisJ1

Reputation: 989

It's in bootstrap/cache/routes.php.

The command php artisan route:cache or php artisan optimize (re)creates this file.

The command php artisan route:clear deletes this file.

Upvotes: 1

Related Questions