Joysisyphus
V2EX  ›  macOS

如何解决一个网站的 CSS 每次都加载不出来?

  •  
  •   Joysisyphus · Oct 30, 2014 · 7661 views
    This topic created in 4253 days ago, the information mentioned may be changed or developed.
    http://rateyourmusic.com

    从昨天开始CSS每次都加载不出来,换网络接口,开VPN,都不行

    有没有什么办法解决这个问题?

    能不能我下载这个网站的CSS存在本地文件,然后指定Safari每次自动加载?
    9 replies    2014-10-31 09:06:41 +08:00
    karonl
        1
    karonl  
       Oct 30, 2014
    刚刚访问有css文件
    crystone
        2
    crystone  
       Oct 30, 2014
    估计是被墙了。
    我试了一下,不翻墙也是css js不能加载,加上代理有全部正常。
    crystone
        3
    crystone  
       Oct 30, 2014
    一堆的net::ERR_NAME_RESOLUTION_FAILED
    yangg
        4
    yangg  
       Oct 30, 2014
    他们的用的 rackcdn.com 这些静态资源全部打不开,加到代理列表就可以了啊
    kttde
        5
    kttde  
       Oct 30, 2014
    看是哪个css不能加载,找到对应域名,然后到17ce等类似网站,用全球各地网络测试其域名对应的ip,然后到自己电脑ping各个ip,找到ping值低的ip,hosts指定之即可,方法虽繁琐但很有效
    Joysisyphus
        6
    Joysisyphus  
    OP
       Oct 30, 2014
    @yangg
    @kttde
    谢谢~
    问题已解决
    Joysisyphus
        7
    Joysisyphus  
    OP
       Oct 30, 2014
    @yangg 又上不去了....
    怎么看到静态资源用的是什么网站的?
    Joysisyphus
        8
    Joysisyphus  
    OP
       Oct 30, 2014
    @yangg 知道了,用inspect element是吧
    yangg
        9
    yangg  
       Oct 31, 2014 via iPhone
    @Joysisyphus 那个可以,直接查看源代码也可以,大部分都在head那里了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1150 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 23:35 · PVG 07:35 · LAX 16:35 · JFK 19:35
    ♥ Do have faith in what you're doing.