<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>too_young</author_name>
  <author_url>https://blog.hatena.ne.jp/too_young/</author_url>
  <blog_title>too_youngの日記</blog_title>
  <blog_url>https://too-young.hatenadiary.org/</blog_url>
  <categories>
    <anon>web</anon>
    <anon>プログラム</anon>
  </categories>
  <description>最近、かなりリダイレクト使うサービスを作っていて、 たまたまchromeでチェックをして気がついた。 もう少し具体的にどういう事かというと、 &quot;HTTP/1.1 301 Moved Permanently&quot;などのヘッダーを付けて、 リダイレクトさせると、chromeの場合、 そのリダイレクト先をキャッシュし、 2度目以降、同じURLへのアクセスは、 リダイレクト先のURLへ直接飛んでいきます。 普通のユーザーであれば、全く問題ないのですが、 開発者でリダイレクターでカウンターや解析用のcookieを発行を考えている場合、 正常に機能しなくなってしまうので注意が必要です。 解決方法は、簡単で、 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoo-young.hatenadiary.org%2Fentry%2F20110303%2F1299149420&quot; title=&quot;chromeは、301リダイレクトをキャッシュしている - too_youngの日記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-03-03 19:50:20</published>
  <title>chromeは、301リダイレクトをキャッシュしている</title>
  <type>rich</type>
  <url>https://too-young.hatenadiary.org/entry/20110303/1299149420</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
