[typo] Page caching feed urls

Gary Shewan gpsnospam at gmail.com
Wed Aug 23 14:39:37 EDT 2006


I made the change.  No issues.   Nothing broken, feeds still up and  
running...


On 23 Aug 2006, at 17:46, Piers Cawley wrote:

> When I look at my Server stats, the top 10 pages are feeds. Feeds
> don't change very much, and none of the feed urls we publish have
> query strings. So, I went to xml_controller.rb and replaced the line
> that reads
>
>    caches_action_with_params :feed
>
> with a line that reads
>
>    caches_page :feed
>
> So far, nothing bad happening, the page cache gets swept correctly the
> load on my dispatch.fcgi is drastically reduced. I commend the change
> to you all.
>
> However, I'm holding off making it an official patch for the time
> being because you need to check your circumstances are okay. Check
> your server logs for /xml/whatever?somearg=someval type requests
> before you proceed. If you do find any, and they're frequent enough
> that you can't ignore them, don't make the switch.
>
> Some feedback here on people's experiences in this regard would be
> good.
>
> -- 
> Piers Cawley <pdcawley at bofh.org.uk>
> http://www.bofh.org.uk/
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list



More information about the Typo-list mailing list