ダブルクリックで英日反転
Applied Sciences · Engineering
Why a Dead-DNS Site Still Opens in Your Browser
If a site's DNS is gone yet it still renders in Chrome on one machine, two mechanisms are to blame: the Service Worker's offline cache and a surviving SPA tab — not a network glitch.
HTTP Cache vs. Service Worker
- HTTP cache is revalidated on F5 reload — if DNS is dead it should fail.
- A Service Worker intercepts every fetch and can serve from Cache Storage with zero network access.
- Even with dead DNS, the SW returns the last stored version of the site.
Why PWAs Enable This
- PWAs register a Service Worker + manifest to work offline like a native app.
- Tools like vite-plugin-pwa / Workbox cache the whole site on first visit.
- SW is often only active in production, making the behaviour invisible in dev.
SPAs and Surviving Tabs
- A SPA loads HTML once; JS handles all navigation inside the same tab.
- If the tab stays open after DNS dies, the page remains in memory and continues to display.
Diagnosing with Incognito
- Incognito starts with no SW, no HTTP cache, no cookies — a clean slate.
- Dead DNS + SW present → normal window shows, incognito cannot connect.
- Unregister via DevTools → Application → Service Workers → Unregister to force-clear.
→ "Only I can see it" ≠ "the site is up" — always verify in an incognito window.
応用科学 · エンジニアリング
DNSが死んでいるのにサイトが自分だけ見えるのはなぜか
DNSが消えたはずのサイトが特定PCのChromeだけで表示され続ける場合、犯人はService Worker(=ブラウザ内に常駐する小さなJSプログラム)のオフラインキャッシュか、生き残ったSPAタブのどちらかだ。
HTTPキャッシュとService Workerの違い
- HTTPキャッシュはF5(再読み込み)時にサーバーへの再検証を試みる=DNS死亡時はエラーになるはず。
- Service WorkerはすべてのfetchをインターセプトしCache Storageから直接応答できる。
- DNSが死んでいても、SWが生きていれば最後に保存したバージョンが表示される。
PWAがこの現象を起こす理由
- PWA(=インストール可能・オフライン動作対応のWebアプリ)はService WorkerとManifestで構成される。
- vite-plugin-pwaやWorkbox(GoogleのSWライブラリ群)が初回訪問時にサイト全体をキャッシュする。
- SWは本番環境のみ有効化される設定が多く、開発中は気づきにくい。
SPAと生き残りタブ
- SPA(=Single Page Application・最初の1回だけHTMLを読み込みJSで画面を切り替えるアプリ)はタブを閉じるまでメモリに残る。
- DNS消滅後もタブを開いたままにしていると表示が維持される。
シークレットウィンドウで原因を特定する
- シークレット(プライベート)ウィンドウはSW・HTTPキャッシュ・Cookieがすべてゼロの「まっさらなブラウザ」。
- 通常ウィンドウで見える・シークレットで繋がらない → キャッシュ/SWの仕業と確定。
- 強制削除はDevTools → Application → Service Workers → Unregisterで行う。
→ 「自分だけ見える」≠「サイトが生きている」——まずシークレットウィンドウで確認する。
Applied Sciences · Engineering
Why a Dead-DNS Site Still Opens in Your Browser
If a site's DNS is gone yet it still renders in Chrome on one machine, two mechanisms are to blame: the Service Worker's offline cache and a surviving SPA tab — not a network glitch.
HTTP Cache vs. Service Worker
- HTTP cache is revalidated on F5 reload — if DNS is dead it should fail.
- A Service Worker intercepts every fetch and can serve from Cache Storage with zero network access.
- Even with dead DNS, the SW returns the last stored version of the site.
Why PWAs Enable This
- PWAs register a Service Worker + manifest to work offline like a native app.
- Tools like vite-plugin-pwa / Workbox cache the whole site on first visit.
- SW is often only active in production, making the behaviour invisible in dev.
SPAs and Surviving Tabs
- A SPA loads HTML once; JS handles all navigation inside the same tab.
- If the tab stays open after DNS dies, the page remains in memory and continues to display.
Diagnosing with Incognito
- Incognito starts with no SW, no HTTP cache, no cookies — a clean slate.
- Dead DNS + SW present → normal window shows, incognito cannot connect.
- Unregister via DevTools → Application → Service Workers → Unregister to force-clear.
→ "Only I can see it" ≠ "the site is up" — always verify in an incognito window.
応用科学 · エンジニアリング
DNSが死んでいるのにサイトが自分だけ見えるのはなぜか
DNSが消えたはずのサイトが特定PCのChromeだけで表示され続ける場合、犯人はService Worker(=ブラウザ内に常駐する小さなJSプログラム)のオフラインキャッシュか、生き残ったSPAタブのどちらかだ。
HTTPキャッシュとService Workerの違い
- HTTPキャッシュはF5(再読み込み)時にサーバーへの再検証を試みる=DNS死亡時はエラーになるはず。
- Service WorkerはすべてのfetchをインターセプトしCache Storageから直接応答できる。
- DNSが死んでいても、SWが生きていれば最後に保存したバージョンが表示される。
PWAがこの現象を起こす理由
- PWA(=インストール可能・オフライン動作対応のWebアプリ)はService WorkerとManifestで構成される。
- vite-plugin-pwaやWorkbox(GoogleのSWライブラリ群)が初回訪問時にサイト全体をキャッシュする。
- SWは本番環境のみ有効化される設定が多く、開発中は気づきにくい。
SPAと生き残りタブ
- SPA(=Single Page Application・最初の1回だけHTMLを読み込みJSで画面を切り替えるアプリ)はタブを閉じるまでメモリに残る。
- DNS消滅後もタブを開いたままにしていると表示が維持される。
シークレットウィンドウで原因を特定する
- シークレット(プライベート)ウィンドウはSW・HTTPキャッシュ・Cookieがすべてゼロの「まっさらなブラウザ」。
- 通常ウィンドウで見える・シークレットで繋がらない → キャッシュ/SWの仕業と確定。
- 強制削除はDevTools → Application → Service Workers → Unregisterで行う。
→ 「自分だけ見える」≠「サイトが生きている」——まずシークレットウィンドウで確認する。
Related notes
- Agentic Commerce — ACP and Visibility into Being 'Bought by AI'
- AI Search Evaluation: The 12 Metrics — Gateway
- AI Search Evaluation ①Citation Rate — How Many URLs Are Pulled In Per Answer
- AI Search Evaluation ②Source Diversity — How Unskewed the Cited Sources Are
- AI Search Evaluation ③Accuracy Score — How Often It Answers Factual Questions Correctly
- AI Search Evaluation ④Answer Length — How Many Characters It Returns to the User on Average