<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>jayliud (jayliud)</title>
    <link>https://ruby-china.org/jayliud</link>
    <description/>
    <language>en-us</language>
    <item>
      <title>如何禁用 Rack Cache 呢？</title>
      <description>&lt;p&gt;最近遇到个棘手的问题，google 后发现有人有一样的问题，但没答案。不知道论坛有人帮忙看看么？&lt;/p&gt;

&lt;p&gt;I am attempting to stream a CSV file from a Rails 3.2 application. All
works as expected IF I disable Rack-Cache... but I really want to keep the
caching if possible. Setting 'Cache-Control: no-cache' for the response
didn't help.&lt;/p&gt;

&lt;p&gt;Here is my SO post on the topic:
&lt;a href="http://stackoverflow.com/questions/9930564/possible-to-disable-rack-cache-on-a-per-request-basis-in-rails-3-2" rel="nofollow" target="_blank"&gt;http://stackoverflow.com/questions/9930564/possible-to-disable-rack-cache-on-a-per-request-basis-in-rails-3-2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Is Rack-Cache incompatible with streaming responses???
Can anyone think of a way to disable Rack-Cache for this one request???&lt;/p&gt;</description>
      <author>jayliud</author>
      <pubDate>Fri, 06 Mar 2015 18:12:09 +0800</pubDate>
      <link>https://ruby-china.org/topics/24504</link>
      <guid>https://ruby-china.org/topics/24504</guid>
    </item>
  </channel>
</rss>
