Skip to content

Glossary: Laravel

optimize

Also written: php artisan optimize, optimize:clear

An Artisan command that caches settings, routes and views in files so each request does less work. optimize:clear removes the caches.

Where the book teaches it

Related terms

Deploying.env