全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
楼主: sharp097

一个CloudFlare插件让你的WordPress网站从测速全红到绿油油一片

  [复制链接]
发表于 2023-5-3 10:44:23 | 显示全部楼层
uzz 发表于 2023-4-28 13:28
我用了之后,后台进不去,折腾了半夜。是不是CF域名要打开小云朵还是?你QQ多少加我328999 ...

Flexible SSL for CloudFlare 装这个插件
发表于 2023-5-3 11:23:08 | 显示全部楼层
如果其他cms也可以用到这个就好了
发表于 2023-5-3 14:29:27 | 显示全部楼层
银监会 发表于 2023-4-27 11:22
这种插件级的静态化性能不如服务端的静态化, https://haogeboke.com/archives/technology/wordpress_fastc ...

Rocket-Nginx 是WordPress缓存插件WP-Rocket的Nginx配置。它使 Nginx 能够直接提供以前缓存的文件,而无需调用 WordPress 或任何 PHP。它还添加标头以缓存 CSS、JS 和媒体,以便通过减少对 Web 服务器的请求来利用浏览器的缓存。
https://github.com/SatelliteWP/rocket-nginx
这个的原理是不是跟你文章里头的差不多?现在我用这个都是到nginx
用了这个CPU压力也小速度响应都还可以,奇怪的是不带www的好像无法缓存。
 楼主| 发表于 2023-5-3 15:49:32 | 显示全部楼层
宁静致远 发表于 2023-5-3 00:38
怎么设置去掉网址后面那些swcfpc?

你注销wp的后台就行了,这个参数是为了插件知道你是登录状态不走缓存用的
 楼主| 发表于 2023-5-3 15:52:30 | 显示全部楼层
hunter5q 发表于 2023-5-3 14:29
Rocket-Nginx 是WordPress缓存插件WP-Rocket的Nginx配置。它使 Nginx 能够直接提供以前缓存的文件,而无 ...

他这个的原理好像是生成静态页面托管到cf的全球边缘节点,有区别于本机的那种
发表于 2023-5-3 16:03:12 | 显示全部楼层
大佬牛啊,让我膜拜膜拜
发表于 2023-5-3 16:19:27 | 显示全部楼层
hunter5q 发表于 2023-5-3 00:04
你的wp rocket怎么设置得连17ce都能让你死机

以前不开会死机
发表于 2023-5-3 16:31:32 | 显示全部楼层
楼主的网页加载速度10S以上才可以打开
发表于 2023-5-3 20:12:05 | 显示全部楼层
Page caching seems not working for both dynamic and static pages.

Error on dynamic page (https://www.xxxxx.com): Cache status: DYNAMIC - The resource was not cached by default and your current Cloudflare caching configuration doesn't instruct Cloudflare to cache the resource. Instead, the resource was requested from the origin web server.

Error on static resource (https://www.xxxxxx.com/wp-content/plugins/wp-cloudflare-page-cache/assets/testcache.html): Unable to find the Cache-Control response header.

Please check if the page caching is working by yourself by surfing the website in incognito mode 'cause sometimes Cloudflare bypass the cache for cURL requests. Reload a page two or three times. If you see the response header cf-cache-status: HIT, the page caching is working well.

楼主,这个是什么问题导致的
 楼主| 发表于 2023-5-3 20:26:09 | 显示全部楼层
hoboking 发表于 2023-5-3 20:12
Page caching seems not working for both dynamic and static pages.

Error on dynamic page (https://ww ...

cf后台不能开反爬虫和under attack,这两个都关了还不行的话可能就是哪里的设置问题了~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-9-12 06:04 , Processed in 0.115192 second(s), 6 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表