By A K
On one page i’m getting about 8 images using the bucket (Spaces) and it takes about a minute to load (actual time). Without the images it’s much faster.
I’m using laravel’s Storage library to get the images.
$url = Storage::disk('do_spaces')->url($path);
<img src=" {{ $url }}" />
Can anyone point out why it’s taking so long for the images to load?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello friend!
That’s definitely not ideal. I think in this case it might be a good idea to open a ticket and give the direct URL to a few of these images that are taking so long to load, so that we can test from our side. I’m assuming that these images are reasonably compressed and not just so large that it makes sense for them to load slowly.
Kind Regards, Jarland
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.