谷歌云存储桶的加载时间慢 [英] Slow Load Time From Google Cloud Storage Bucket

查看:20
本文介绍了谷歌云存储桶的加载时间慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

Competitions Load Time (Competitions URL Mopro.com)

解决方案

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).

这篇关于谷歌云存储桶的加载时间慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆