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

记又一次 cdn.v2ex.co 的锅

  •  
  •   SoloCompany · 2017-02-09 15:04:49 +08:00 · 4180 次点击
    这是一个创建于 2604 天前的主题,其中的信息可能已经有所发展或是发生改变。

    快忍无可忍了

    当然这个和 chrome 的 bug 有关,只不过显然和 cdn.v2ex.co 站点过于不稳定摆脱不了关系

    然后,看完下面这个帖子的感受是,真想以后都不用 chrome 了

    http://fex.baidu.com/blog/2015/01/chrome-stalled-problem-resolving-process/

    附:仅这个 tommorow.css 请求的 HAR 数据

          {
            "startedDateTime": "2017-02-09T06:36:11.175Z",
            "time": 263812.83700000495,
            "request": {
              "method": "GET",
              "url": "https://cdn.v2ex.co/js/highlight/styles/tomorrow.css",
              "httpVersion": "unknown",
              "headers": [
                {
                  "name": ":path",
                  "value": "/js/highlight/styles/tomorrow.css"
                },
                {
                  "name": "pragma",
                  "value": "no-cache"
                },
                {
                  "name": "accept-encoding",
                  "value": "gzip, deflate, sdch, br"
                },
                {
                  "name": "accept-language",
                  "value": "zh-CN,zh;q=0.8"
                },
                {
                  "name": "user-agent",
                  "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
                },
                {
                  "name": "accept",
                  "value": "text/css,*/*;q=0.1"
                },
                {
                  "name": "cache-control",
                  "value": "no-cache"
                },
                {
                  "name": ":authority",
                  "value": "cdn.v2ex.co"
                },
                {
                  "name": "referer",
                  "value": "https://www.v2ex.com/signin?next=%2Fnotifications"
                },
                {
                  "name": ":scheme",
                  "value": "https"
                },
                {
                  "name": ":method",
                  "value": "GET"
                }
              ],
              "queryString": [],
              "cookies": [],
              "headersSize": -1,
              "bodySize": 0
            },
            "response": {
              "status": 200,
              "statusText": "",
              "httpVersion": "unknown",
              "headers": [
                {
                  "name": "date",
                  "value": "Thu, 09 Feb 2017 06:40:34 GMT"
                },
                {
                  "name": "content-encoding",
                  "value": "gzip"
                },
                {
                  "name": "last-modified",
                  "value": "Thu, 26 May 2016 18:47:00 GMT"
                },
                {
                  "name": "server",
                  "value": "nginx"
                },
                {
                  "name": "x-orca-accelerator",
                  "value": "HIT from 062.mul.hkg01.hk.krill.c3edge.net"
                },
                {
                  "name": "etag",
                  "value": "W/\"574744a4-3d4\""
                },
                {
                  "name": "vary",
                  "value": "Accept-Encoding"
                },
                {
                  "name": "content-type",
                  "value": "text/css"
                },
                {
                  "name": "status",
                  "value": "200"
                },
                {
                  "name": "cache-control",
                  "value": "max-age=14400"
                },
                {
                  "name": "expires",
                  "value": "Thu, 26 May 2016 22:48:33 GMT"
                }
              ],
              "cookies": [],
              "content": {
                "size": 980,
                "mimeType": "text/css",
                "text": "/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */\n\n/* Tomorrow Comment */\n.hljs-comment,\n.hljs-quote {\n  color: #8e908c;\n}\n\n/* Tomorrow Red */\n.hljs-variable,\n.hljs-template-variable,\n.hljs-tag,\n.hljs-name,\n.hljs-selector-id,\n.hljs-selector-class,\n.hljs-regexp,\n.hljs-deletion {\n  color: #c82829;\n}\n\n/* Tomorrow Orange */\n.hljs-number,\n.hljs-built_in,\n.hljs-builtin-name,\n.hljs-literal,\n.hljs-type,\n.hljs-params,\n.hljs-meta,\n.hljs-link {\n  color: #f5871f;\n}\n\n/* Tomorrow Yellow */\n.hljs-attribute {\n  color: #eab700;\n}\n\n/* Tomorrow Green */\n.hljs-string,\n.hljs-symbol,\n.hljs-bullet,\n.hljs-addition {\n  color: #718c00;\n}\n\n/* Tomorrow Blue */\n.hljs-title,\n.hljs-section {\n  color: #4271ae;\n}\n\n/* Tomorrow Purple */\n.hljs-keyword,\n.hljs-selector-tag {\n  color: #8959a8;\n}\n\n.hljs {\n  display: block;\n  overflow-x: auto;\n  background: #f8f8f8;\n  color: #4d4d4c;\n  padding: 0.5em;\n}\n\n.hljs-emphasis {\n  font-style: italic;\n}\n\n.hljs-strong {\n  font-weight: bold;\n}\n"
              },
              "redirectURL": "",
              "headersSize": -1,
              "bodySize": -1,
              "_transferSize": 704
            },
            "cache": {},
            "timings": {
              "blocked": 263573.056000001,
              "dns": 0.6849999990081415,
              "connect": 166.55100000201492,
              "send": 0.5480000040261075,
              "wait": 69.71999999898253,
              "receive": 2.276999999943655,
              "ssl": 140.2789999989909
            },
            "serverIPAddress": "23.251.121.133",
            "connection": "8267"
          },
    
    
    yingos
        1
    yingos  
       2017-02-09 15:12:03 +08:00
    论 chrome 的一千种莫名其妙的 bug
    Rice
        2
    Rice  
       2017-02-09 15:14:27 +08:00
    去年我就遇到这个问题
    Livid
        3
    Livid  
    MOD
       2017-02-09 15:37:46 +08:00
    谢谢你的细致反馈。

    这个问题我们最近正在解决。

    目前 V2EX 的页面里已经没有继续引用 cdn.v2ex.co 这个域名上的资源了,切换了用于提供静态资源服务的架构。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3002 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 14:49 · PVG 22:49 · LAX 07:49 · JFK 10:49
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.