This page caching problem with the RSS feeds seems to be back in
4.0.1.  I thought I had tested it with 4.0.0 and it was not a
problem, but it definately is again now.  I'm using Apache 2,
mod_proxy and typo 4.0.1 with mongrel and sqlite.  Any idea why
this is happening?<br><br><div><span class="gmail_quote">On 7/12/06, <b class="gmail_sendername">Paul Barry</b> &lt;<a href="mailto:mail@paulbarry.com">mail@paulbarry.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Ah, page caching is definately the problem.&nbsp; If I flush the
cache, and run it through feed validator, it works fine the first
time.&nbsp; Then, subsequent hits to the page say the type
text/html.&nbsp; I am using apache mod_proxy and mongrel and the latest
typo gem 3.99.3.</div><div><span class="e" id="q_10c641084c0c89f3_1"><br><br><div><span class="gmail_quote">On 7/12/06, <b class="gmail_sendername">Scott Laird</b> &lt;<a href="mailto:scott@sigkill.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
scott@sigkill.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Your sever doesn't really have much to do with this, except when page<br>caching is turned on (which is a whole *other* pain in the neck).&nbsp;&nbsp;We<br>should be explicitly setting the content type and encoding when we're<br>generating data, and then making sure that the action cache does the
<br>right thing when it replays old data.<br><br><br>Scott<br><br>On 7/12/06, Steve Longdo &lt;<a href="mailto:steve.longdo@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">steve.longdo@gmail.com
</a>&gt; wrote:<br>&gt; Make sure the xml mime-type is in your server's config.&nbsp;&nbsp;If you use the
<br>&gt; default lighttpd one I don't think it is in there. Add this to<br>&gt; /config/lighttpd.conf mime-types section:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&quot;.xml&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;text/xml&quot;,<br>&gt;<br>&gt;<br>&gt; On 7/12/06, Paul Barry &lt;
<a href="mailto:mail@paulbarry.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mail@paulbarry.com</a>&gt; wrote:<br>&gt; &gt;<br>&gt;<br>&gt; I can't add the URL for my typo (3.99.1) blog into gmail web clips.&nbsp;&nbsp;When I
<br>&gt; used <a href="http://feedvalidator.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
feedvalidator.org</a> at this url<br>&gt;<br>&gt; <a href="http://www.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.paulbarry.com%2Fxml%2Frss20%2Ffeed.xml" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.paulbarry.com%2Fxml%2Frss20%2Ffeed.xml
</a><br>&gt;<br>&gt; The warnings I get are:<br>&gt;<br>&gt;&nbsp;&nbsp;- Feeds should not be served with the &quot;text/html&quot; media type<br>&gt;&nbsp;&nbsp;- Your feed appears to be encoded as &quot;UTF-8&quot;, but your server is reporting
<br>&gt; &quot;US-ASCII&quot;<br>&gt;<br>&gt; Do you think these are the problem?&nbsp;&nbsp;Can I fix these errors in typo?<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Typo-list mailing list<br>

&gt; <a href="mailto:Typo-list@rubyforge.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Typo-list@rubyforge.org</a><br>&gt;&nbsp;&nbsp;<a href="http://rubyforge.org/mailman/listinfo/typo-list" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://rubyforge.org/mailman/listinfo/typo-list</a><br>&gt;<br>&gt;<br>&gt;<br>&gt;
<br>&gt;<br>&gt; --<br>&gt; Thanks,<br>&gt; -Steve<br>&gt; <a href="http://www.stevelongdo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.stevelongdo.com</a><br>&gt; _______________________________________________
<br>&gt; Typo-list mailing list<br>&gt; 
<a href="mailto:Typo-list@rubyforge.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Typo-list@rubyforge.org</a><br>&gt; <a href="http://rubyforge.org/mailman/listinfo/typo-list" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://rubyforge.org/mailman/listinfo/typo-list</a><br>&gt;<br>&gt;<br>_______________________________________________
<br>Typo-list mailing list<br><a href="mailto:Typo-list@rubyforge.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Typo-list@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/typo-list" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://rubyforge.org/mailman/listinfo/typo-list</a><br></blockquote>
</div><br>

</span></div></blockquote></div><br>