0

我想通过 CDN 托管图像来提高我网站的性能。我的很多访客都在连接不良的地方,所以我想尽量减少延迟。Google Blobstore 对我很有吸引力,因为它还可以调整图像大小。

google blobstore 是否像 CDN 一样工作,文件由离您很近的服务器提供服务?

例如这个裁剪的图像:https ://lh3.ggpht.com/vNEsJryv2f0D1uqmusa8EdTDd5-CIiqz8AkTscCb6o5E493aM1pPxS3Zm_iX1c1UuZw2oR2lx6GwKUoUk0FYB6uG5A=s131-c

如果不是,有什么好的选择?

4

2 回答 2

2

Appengine 处理的所有请求都通过 Google CDN

您只需Cache-Control在任何响应上设置适当的响应标头,它就会被 Google CDN 缓存。您还可以在静态文件上设置缓存

更新:

据我所知,您通过 AppEngine Image 服务提供图像,该服务在后台使用 Google 高性能图像服务。对您的图像的请求不会影响您的前端实例,它们直接由图像服务服务器提供服务,因此您只需为带宽付费。此外,此响应的缓存时间为 1 天,因此它们甚至会被下游缓存缓存,甚至可以降低您的成本并加快速度。

于 2013-01-24T09:14:15.793 回答
0

Currently, Google App Engine servers are only located in North America, and some part in Europe. Refer to Google Group Discussion.

So if you are located in other continent, your request are still routed to North America.

Currently Windows Azure has the capability to choose the region of your server. enter image description here. From my experience there is even Singapore and some countries in Middle East.

于 2013-01-24T09:25:04.330 回答