记又一次 cdn.v2ex.co 的锅

2017-02-09 15:04:49 +08:00
 SoloCompany

快忍无可忍了

当然这个和 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"
      },

4432 次点击
所在节点    反馈
3 条回复
yingos
2017-02-09 15:12:03 +08:00
论 chrome 的一千种莫名其妙的 bug
Rice
2017-02-09 15:14:27 +08:00
去年我就遇到这个问题
Livid
2017-02-09 15:37:46 +08:00
谢谢你的细致反馈。

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

目前 V2EX 的页面里已经没有继续引用 cdn.v2ex.co 这个域名上的资源了,切换了用于提供静态资源服务的架构。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/339305

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX