chenha0
V2EX  ›  反馈

建议增加 gist 显示失败时候的 fallback 机制

  •  
  •   chenha0 · Jan 22, 2015 · 3454 views
    This topic created in 4137 days ago, the information mentioned may be changed or developed.
    考虑到天朝内网环境,主贴里如果插入了gist链接,是有可能无法访问的,这时候页面渲染会被中断。而最终浏览器发现链接超时,继续渲染后,页面上也看不出来相应位置本该有个gist。

    是否能加入fallback机制,在访问gist失败时,改为显示gist源地址。
    1 replies    2015-01-22 15:28:51 +08:00
    otakustay
        1
    otakustay  
       Jan 22, 2015
    我也建议最好能异步地引入gist,主贴有个gist这页打开就各种慢了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5159 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 08:33 · PVG 16:33 · LAX 01:33 · JFK 04:33
    ♥ Do have faith in what you're doing.