• 请不要在回答技术问题时复制粘贴 AI 生成的内容
tony1016
V2EX  ›  程序员

Highcharts 的库使用了 google 的服务,怎么破?

  •  
  •   tony1016 · Oct 28, 2014 · 3945 views
    This topic created in 4215 days ago, the information mentioned may be changed or developed.
    它使用了google api和google fonts的服务,导致访问很慢,如何破??
    12 replies    2014-10-28 18:41:12 +08:00
    cst4you
        1
    cst4you  
       Oct 28, 2014
    改!
    msg7086
        2
    msg7086  
       Oct 28, 2014
    翻?
    lzc
        3
    lzc  
       Oct 28, 2014
    用gooreplacer
    http://www.v2ex.com/t/134553
    把Google的源换成USTC LUG的源
    hyraxer
        4
    hyraxer  
       Oct 28, 2014
    站上挂个 穿墙路由广告 推荐全民翻墙.
    不然就只能改highcharts的库自己做个国内镜像了
    susu
        5
    susu  
       Oct 28, 2014
    改成国内的库 http://libs.useso.com/ ,或者换别的js库
    dong3580
        6
    dong3580  
       Oct 28, 2014
    试了试,谷歌fonts去掉也正常吧。
    tony1016
        7
    tony1016  
    OP
       Oct 28, 2014
    @lzc 客户端这个没法强求啊
    tony1016
        8
    tony1016  
    OP
       Oct 28, 2014
    @susu 它内部调用了google服务,没办法啊
    wahyd4
        9
    wahyd4  
       Oct 28, 2014
    gooreplacer 是个好东西
    raofeng
        10
    raofeng  
       Oct 28, 2014
    之前也遇到了这个问题,先是用 http://libs.useso.com/ ,但是速度还是慢,后来直接给去掉了。也没出什么问题。
    alexkh
        11
    alexkh  
       Oct 28, 2014
    改用百度的echarts,http://echarts.baidu.com/
    lbp0200
        12
    lbp0200  
       Oct 28, 2014
    @alexkh +1
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1061 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 85ms · UTC 22:50 · PVG 06:50 · LAX 15:50 · JFK 18:50
    ♥ Do have faith in what you're doing.