<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nyaxt</author_name>
  <author_url>https://blog.hatena.ne.jp/nyaxt/</author_url>
  <blog_title>nyaxtのPC作業ログ</blog_title>
  <blog_url>https://nyaxt.hatenadiary.org/</blog_url>
  <categories>
    <anon>ruby</anon>
    <anon>sinatra</anon>
  </categories>
  <description>アクセス量が多いことが予想された為、Squidをフロントに置く構成に。実際の構成は Squid(cache) =&gt; lighttpd(revproxy/vhost) =&gt; thin(dynamic contents)という感じ。ここで、thinが配信する動的コンテンツが全てsquidでキャッシュに載らない問題が発生。原因はさくさんが言っているようにLast-Modifiedヘッダの不足でした。 なので、Sinatra側で適当にこれを配信するようにしてやる： module Sinatra class Response unless instance_methods.include?('finis…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnyaxt.hatenadiary.org%2Fentry%2F20100504%2F1272958895&quot; title=&quot; Squidとの連携 - nyaxtのPC作業ログ&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>2010-05-04 16:41:35</published>
  <title> Squidとの連携</title>
  <type>rich</type>
  <url>https://nyaxt.hatenadiary.org/entry/20100504/1272958895</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
