{"id":694983,"date":"2008-02-11T22:10:16","date_gmt":"2008-02-11T22:10:16","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/disable-magpie-rss-cache\/"},"modified":"2016-08-19T00:16:41","modified_gmt":"2016-08-19T00:16:41","slug":"disable-magpie-rss-cache","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/disable-magpie-rss-cache\/","title":{"rendered":"Disable magpie rss cache ?"},"content":{"rendered":"<p>Hello!<\/p>\n<p>Ok.<\/p>\n<p>From what I can tell, the rss engine of wordpress cache the result in the wp_options table, in the database.<\/p>\n<p>Is there a way to disable the cache when I call fetch rss ?<\/p>\n<p>I tried :<\/p>\n<pre><code>define(&#039;MAGPIE_CACHE_ON&#039;, 0);\ndefine(&#039;MAGPIE_CACHE_AGE&#039;, 0);<\/code><\/pre>\n<p>With no success&#8230;<\/p>\n<p>I have a feed from a wordpress on domain A to display to a wordpress on domain B&#8230; It takes forever, the feed doesn&#8217;t update when I write a new post&#8230;<\/p>\n<p>When I drop the cache fields in the wp_option table, the feed updates in a second&#8230; So I figure that if I could disable the cache, I will solve my problem&#8230;<\/p>\n<p>S.<\/p>\n","protected":false},"template":"","class_list":["post-694983","topic","type-topic","status-closed","hentry","topic-tag-cache","topic-tag-magpie","topic-tag-rss"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/694983","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/694983\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=694983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}