<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mizdra</author_name>
  <author_url>https://blog.hatena.ne.jp/mizdra/</author_url>
  <blog_title>mizdra's blog</blog_title>
  <blog_url>https://www.mizdra.net/</blog_url>
  <categories>
    <anon>browser</anon>
    <anon>frontend</anon>
    <anon>cache</anon>
  </categories>
  <description>TL;DR あるリソースの fetch 中にページ遷移すると、一部ブラウザでは fetch が中断される 中断されると、TypeError が throw される ページ遷移時は、ブラウザによって遷移前のページの実行が&quot;停止&quot;され、&quot;捨てられる&quot;ので、通常 throw された後のことは考えなくて良い しかし、そのページが Back/Forward Cache から復元されうるなら、話は別 ブラウザバックすると、エラーが throw された後からページが再開される！！！ そして発生する、奇妙な現象の数々... はじまりは、あるサービスの不具合報告 ある日、「Webサービスから外部サービスにページ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mizdra.net%2Fentry%2F2023%2F12%2F15%2F012937&quot; title=&quot;fetch の中断と Back/Forward Cache からの復元で発生する奇妙な現象について - mizdra&amp;#39;s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://i.gyazo.com/21ad736b976919b61a9a2e36e3ea5625.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-12-15 01:29:37</published>
  <title>fetch の中断と Back/Forward Cache からの復元で発生する奇妙な現象について</title>
  <type>rich</type>
  <url>https://www.mizdra.net/entry/2023/12/15/012937</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
