|
Post by account_disabled on Jan 28, 2024 22:22:31 GMT -6
您可以在此 SitePoint Premium 课程(需要 Premium 订阅)中了解如何使用 CloudFlare CDN 保护 WordPress 网站。 Pause Next Unmute Current Tim Duration 2:00 Fullscreen 互联网需要速度;每个人都已经知道了这一点。但为什么这对您的 WordPress 网站如此重要,以及为什么您应该使用 WordPress 的 CDN 来帮助缩短网站的加载时间? 您可能已经多次看到3 秒加载时间图表。它以及无数类似的图表无处不在。 但这是有原因的——页面加载时间会影响转化。就这么简单。大多数 WordPress 网站的最终目标是什么?我知道我的网站都专注于以某种方式赚钱。无论它们是联属网站还是基于服务的网站,它们的目标都是转化。 如果加载时间影响转化,那么专注于速度是一件好事! 查看您可能希望为您构建或管理的 WordPress 网站使用 CDN 的四个原因 使用 CDN,您的网站加载速度会更快 这是为 WordPress 设置 CDN 的最强卖点之一。 距离是网站最大的速度杀手之一。 具体来说,您的托管服务器和访问者浏览器之间的距离。虽然页面的大小确实有所不同,但内容必须传播的距离绝对可能是网站加载速度的最大瓶颈。 理想情况下,您的访问者需要尽可能靠近托管服务器。 不幸的是,在物理上靠近任何特定访问者的位置设置托管服 WhatsApp 号码数据 务器几乎是不可能的 - 除非您要设置 CDN。 内容交付网络 (CDN) 的理念正是如此。CDN 的主要目的是在不同的地理位置设置尽可能多的服务器,以便任何访问该服务的人都尽可能靠近其中一个位置。 看一下来自Incapsula CDN(我的首选服务之一)的下图,它完美地解释了这个概念。 全球CDN地图 可以看到有很多CDN服务器点。通过这种方式,世界上任何位置的所有访问者总是可以从(相对而言)靠近他们的位置获得内容。 在 CDN 网络上托管静态内容是最接近为您的网站创建全局托管设置的方法。 Build Your Own Developer 机器人流量 上面的统计数据更可怕的是,29% 的网络流量来自恶意机器人。 这意味着您的网站经常受到大量不良机器人流量的影响。如果您曾经查看过分析数据,或者使用过像WordFence这样的安全插件,那么您已经意识到了这一事实。 这些机器人不断探测您的网站是否存在漏洞。如果您在安全方面稍有疏忽,如果您没有选择好的 WordPress 主机,或者您错过了WordPress 安全更新或插件更新,请放心,您的网站很快就会遭受后果。 大多数 CDN 能够快速识别和阻止恶意机器人,使您的网站在插入 CDN 时更加安全。通过网络获得的集体知识可用于防止对您自己的站点的攻击。 3. 使用 CDN 保护您的网站免受基于流量的攻我确信您一生中至少遇到过几次交通堵塞。我知道我有。陷入交通堵塞是浪费生产时间和金钱。 同样的概念也适用于您的网站。 然而,当有人故意向您的网站发送大量流量时,情况会更糟。 在分布式拒绝服务 (DDoS) 攻击中,大量受感染的 Web 服务器或计算机(甚至物联网设备)被招募来向您的网站发送大量流量,导致您的合法用户无法访问它。 DDoS 攻击 如果您的网站是您企业的生命线,那么 DDoS 攻击实际上会让您的企业陷入瘫痪。
|
|