V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
sudoy
V2EX  ›  Cloudflare

cloudflare workers 搭建的博客速度慢怎么优化

  •  
  •   sudoy · 9 天前 · 834 次点击

    最近用 cloudflare workers 搭建了一个博客,不管是本地用 chrome 跑 lighthouse 还是用 pagespeed.web.dev 跑测试,performance 那里分数一直上不来,LCP 响应十几秒钟,我改成用 cloudflare images 作为图片托管依然分数很低,不知道怎么优化了,请大佬们赐教,感谢!我之前用 netlify 搭建的一个静态网站速度特别快,按理说 cloudflare workers 属于边缘计算应该更快才对。对了,我测试了国内外 IP 都是分数很低。

    4 条回复    2025-11-28 23:03:49 +08:00
    tetora
        1
    tetora  
       9 天前   ❤️ 1
    用优选 ip
    sudoy
        2
    sudoy  
    OP
       9 天前
    @tetora 感谢!
    Danswerme
        3
    Danswerme  
       8 天前
    @tetora 优选 ip 应该是只能对自己生效吧?还是说有办法调整域名的 CDN ip ?
    tetora
        4
    tetora  
       8 天前
    @Danswerme 优选 ip 对所有人都生效,如果要动态优选可以用别人优选好的域名作为 cname [这种方法有概率被封,但是效果很好,看你怎么用了]
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2572 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 07:35 · PVG 15:35 · LAX 23:35 · JFK 02:35
    ♥ Do have faith in what you're doing.