Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Slow Load Time From Google Cloud Storage Bucket

Currently, I am loading the image for my website from a google cloud storage bucket.

I was under the impression that a multi-regional google cloud storage bucket should be one of the fastest way on the internet to load images.

However, this doesn't seem to be the case when I compare the waterfall between my website on a competitors image load time is leagues better than mine.

Is there anything I can do to improve the Google Cloud Storage Images load time?

(My Website URL Aelieve.com)

My Website Load Time/Waterfall

enter image description here

Competitions Load Time (Competitions URL Mopro.com)

enter image description here

like image 784
Wizard Avatar asked Oct 16 '22 21:10

Wizard


1 Answers

As explained in this question, GCS is not a CDN. It makes sense that a CDN would serve the content much faster, specially depending where are you doing the request from.

To improve your performance, integrate your GCS bucket with Cloud CDN following this steps.

Also, if you know how to use GAE, take a look at the images API, as it's an API specifically designed to make it easier to handle the serving of static images (including the usage of a CDN and other optimizations).

like image 147
Jofre Avatar answered Oct 21 '22 05:10

Jofre