<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: WordPress RSS Cache issue</title>
	<atom:link href="http://albertech.net/2010/05/wordpress-rss-cache-issue/feed/" rel="self" type="application/rss+xml" />
	<link>http://albertech.net/2010/05/wordpress-rss-cache-issue/</link>
	<description>Guides and Reviews for WordPress, PHP, MySQL, Apache, CMS Systems, jQuery, and other Technologies</description>
	<lastBuildDate>Thu, 03 May 2012 15:55:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Deryk</title>
		<link>http://albertech.net/2010/05/wordpress-rss-cache-issue/comment-page-1/#comment-348</link>
		<dc:creator>Deryk</dc:creator>
		<pubDate>Fri, 27 Aug 2010 19:12:02 +0000</pubDate>
		<guid isPermaLink="false">http://albertech.net/?p=413#comment-348</guid>
		<description>this code should also work if you want to improve the cache for certain feeds:

function scg_filter_feed_duration( $duration, $url ) {
	if ( &#039;http://shambhalatimes.org/category/featured-stories/feed/&#039; == $url )
		return (3600 * 2); // every 2 hours
	else
		return $duration;
}
add_filter( &#039;wp_feed_cache_transient_lifetime&#039;, &#039;scg_filter_feed_duration&#039;, 10, 2 );

and if you want to improve it for all feeds:

function scg_filter_feed_duration( $duration ) {
	return (3600 * 2); // every 2 hours
}
add_filter( &#039;wp_feed_cache_transient_lifetime&#039;, &#039;scg_filter_feed_duration&#039; );</description>
		<content:encoded><![CDATA[<p>this code should also work if you want to improve the cache for certain feeds:</p>
<p>function scg_filter_feed_duration( $duration, $url ) {<br />
	if ( &#8216;http://shambhalatimes.org/category/featured-stories/feed/&#8217; == $url )<br />
		return (3600 * 2); // every 2 hours<br />
	else<br />
		return $duration;<br />
}<br />
add_filter( &#8216;wp_feed_cache_transient_lifetime&#8217;, &#8216;scg_filter_feed_duration&#8217;, 10, 2 );</p>
<p>and if you want to improve it for all feeds:</p>
<p>function scg_filter_feed_duration( $duration ) {<br />
	return (3600 * 2); // every 2 hours<br />
}<br />
add_filter( &#8216;wp_feed_cache_transient_lifetime&#8217;, &#8216;scg_filter_feed_duration&#8217; );</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WordPress Speed Tricks for Your Site :: WordPress :: WordPress Design &#38; Tutorials</title>
		<link>http://albertech.net/2010/05/wordpress-rss-cache-issue/comment-page-1/#comment-337</link>
		<dc:creator>WordPress Speed Tricks for Your Site :: WordPress :: WordPress Design &#38; Tutorials</dc:creator>
		<pubDate>Thu, 17 Jun 2010 16:09:17 +0000</pubDate>
		<guid isPermaLink="false">http://albertech.net/?p=413#comment-337</guid>
		<description>[...] WordPress RSS Cache issue (mostly WordPress MU but still really helpful)  AKPC_IDS += &quot;15653,&quot;;         Related posts [...]</description>
		<content:encoded><![CDATA[<p>[...] WordPress RSS Cache issue (mostly WordPress MU but still really helpful)  AKPC_IDS += &quot;15653,&quot;;         Related posts [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daynah</title>
		<link>http://albertech.net/2010/05/wordpress-rss-cache-issue/comment-page-1/#comment-360</link>
		<dc:creator>Daynah</dc:creator>
		<pubDate>Thu, 13 May 2010 02:28:59 +0000</pubDate>
		<guid isPermaLink="false">http://albertech.net/?p=413#comment-360</guid>
		<description>&lt;span class=&quot;topsy_trackback_comment&quot;&gt;&lt;span class=&quot;topsy_twitter_username&quot;&gt;&lt;span class=&quot;topsy_trackback_content&quot;&gt;RT @dragonal: WordPress RSS Cache issue http://bit.ly/9QZJeF&lt;/span&gt;&lt;/span&gt;</description>
		<content:encoded><![CDATA[<p><span class="topsy_trackback_comment"><span class="topsy_twitter_username"><span class="topsy_trackback_content">RT @dragonal: WordPress RSS Cache issue <a href="http://bit.ly/9QZJeF" rel="nofollow">http://bit.ly/9QZJeF</a></span></span></span></p>
]]></content:encoded>
	</item>
</channel>
</rss>

