You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't use artisan route:cache because of this package generates closure routes (with function).
Better will be to generate controller routes, because of with this package unable to fully optimize website.
The text was updated successfully, but these errors were encountered:
Agree with @hbody and @FreedomKnight , we should prevent closure routes since fileapi should be optimized for performance.
BTW, a nginx/apache alias or cache to the storage/app/images folder is recommended for the best performance optimization, the GET API is not necessary to go through PHP.
For example, in nginx, setup fastcgi_cache for it.
I can't use
artisan route:cache
because of this package generates closure routes (with function).Better will be to generate controller routes, because of with this package unable to fully optimize website.
The text was updated successfully, but these errors were encountered: