Cache Improvement

Open
P
Plum Ghost

I’ve trying to optimize Artisan caching but there are some issues that could be solved easily.

Currently .env is set as default using cache as “file” but perhaps it could be even use memcahed for better performance.

Running command php artisan config:cache everything looks good.

But running command php artisan route:cache I get error:

LogicException

 Unable to prepare route [logout] for serialization. Another route has already been assigned name [logout].

 

Tried to investigate duplications for [logout] running command php artisan route:list --name=logout

I get error

ReflectionException

 Class "PaymentAccountController" does not exist

To create such class, it would require Composer module that would need quite decent knowledge and decent knowledge about UltimatePOS programing level. I mean, such class could be delivered with installing/upgrade files.

Running command php artisan view:cache

In my case, I have some extra modules installed and this command result in a few missing folders. I could create those and fix this error.

So big deal on Laravel caching setup is really missing class.

April 22, 2026·#027

Please to leave a comment.

Activity Feed

Sort by

No activity yet.