Laravel gives you the flexibility to choose the structure of controllers yourself, which is both a blessing and a curse. You won’t find any recommendations in the official Laravel docs, so let’s try to discuss various options, based on one specific example.
PHP
A cookieless, cache-friendly image proxy in Laravel (inspired by Cloudflare)
Transforming and serving images from Laravel in a cache-friendly way. Read more