Useful commands

TRAX LRS performances can be improved with a few commands that you should run on your production server:

composer install --optimize-autoloader --no-dev
php artisan config:cache
php artisan route:cache

You should not run these commands on your development server, or clear the generated cache with:

php artisan config:clear
php artisan route:clear


TRAX LRS uses caching strategies in many situations, so it is important to configure your cache system properly.

TRAX LRS relies on Laravel, which supports several cache drivers including Memcached and Redis.

By default, TRAX LRS uses the file-based cache driver, which is supported everywhere, but it is not the best in terms of performance.

So you should take a look at the Laravel documentation to configure your prefered cache driver: https://laravel.com/docs/8.x/cache