Cloudflare和Firebase [英] Cloudflare and Firebase

查看:85
本文介绍了Cloudflare和Firebase的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用Cloudflare减轻Firebase目标网页上的压力?如果是这样,我将如何进行设置?对我来说,这是一个相对较新的概念。

Is it possible to use Cloudflare to reduce the stress on my firebase landing page? If so, how would I go about setting that up? This is a relatively new concept to me.

推荐答案

这是可能的,但不建议这样做。 Firebase Hosting已通过全球CDN提供服务,并且规模庞大。通过在Firebase Hosting之前使用CloudFlare加速(将其仅用于DNS完全可以),您可能会通过在客户端和内容之间添加额外的代理层来减慢站点速度。

This is possible but not recommended. Firebase Hosting is already served via a global CDN and is built to take on enormous scale. By using CloudFlare acceleration (using it just for DNS is perfectly fine) in front of Firebase Hosting you are likely to slow down your site by adding an extra proxy layer between the client and the content.

这篇关于Cloudflare和Firebase的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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