VS
Size: a a a
VS
VS
AB
VS
VS
AG
VS
site.com/public/uploads/$user->code/images/file.png
images/file.png
. Попробывал сделать через роуты, время на ттфб выросло в 100 раз.Route::get("images/{path}", function(
$path){
return Storage::disk('uploads')->response("images/
$path");
})->where([
'path' => '[a-z0-9A-Z\/\.]+'
]);
*/r
DB
site.com/public/uploads/$user->code/images/file.png
images/file.png
. Попробывал сделать через роуты, время на ттфб выросло в 100 раз.Route::get("images/{path}", function(
$path){
return Storage::disk('uploads')->response("images/
$path");
})->where([
'path' => '[a-z0-9A-Z\/\.]+'
]);
*/DB
DB
VS
DB
site.com/public/uploads/$user->code/images/file.png
images/file.png
. Попробывал сделать через роуты, время на ттфб выросло в 100 раз.Route::get("images/{path}", function(
$path){
return Storage::disk('uploads')->response("images/
$path");
})->where([
'path' => '[a-z0-9A-Z\/\.]+'
]);
*/VS
DB
DB
DB
DB
VS
DB