Optimize performance for Laravel application

07 Dec 2016

(writing is in progress)

1. Client side

I prefer to read some tips from Google and CDN provider.

2. Application

composer dump-autoload

php artisan route:cache

php artisan view:clear

php artisan config:clear

php artisan cache:clear

php artisan clear-compiled

php artisan optimize

php artisan route:cache

public function boot()
    if ( env( 'APP_ENV', 'local' ) !== 'local' )


3. Server side

4. Learn more about performance

Tweet me @huynhbathanh if you like this post.

comments powered by Disqus