Skip to content

Routes snapshot ​

Use the routes snapshot to speed up Nimbus on a large application. It saves the route list, so Nimbus does not have to build it on every page load.

Turn it on ​

The snapshot is off by default. Set it in config/nimbus.php.

php
'snapshot' => true,

The vendor/sunchayn/nimbus/storage folder must be writable.

Refresh the routes ​

The routes refresh by themselves when you change your routes, the files they use, the Nimbus configuration, composer.lock or an OpenAPI file.

A refresh button also appears next to the search field in the sidebar. Hover it to see when the routes were last updated. Click it after a database change such as a migration, or when a new class such as a form request does not show up.

Routes snapshot

Clear the snapshots ​

Run this command to delete the snapshots of all applications if needed.

Terminal
php artisan nimbus:snapshot:clear