I'm trying to add a custom feed format to my site (basically exporting data to an Excel file) and I'm getting confused by the feed caching settings. I can't figure out how to flush the cached feeds, or to turn off feed caching altogether while I'm in development.
I've tried deleting all the
_transient_rss... options, but I'm still seeing the cached feeds.
And, based on some advice in this support forum thread, I tried on a whim adding this line to my wp-config.php:
(Obviously I'd like some caching of feeds, but it would help in development to be able to turn off the feed caching.)
Anybody got any suggestions?
Sorry, I think I wasn't clear enough in the initial question, and then I threw you all by referring to the magpie cache, which was completely on the wrong path. I was shooting blind at first.
I'm adding a feed to my site using
add_feed(). The function that generates the feed is using the PHPExcel class to write an excel spreadsheet. Then I'm setting appropriate headers for download, and outputting the .xls file data.
I think my problem might actually be a browser caching issue. The urls that I'm trying to output my feeds from look this this: mysite.com/facility/ummc/?feed=master_log and the xls file that's generated is called Master_Log.xls.
Adding a cache busting string to the url request can get around the cache, i.e. requesting a feed from mysite.com/facility/ummc/?feed=master_log&now=12ag4oSduq344 ... I was just wondering if there was any way of disabling the cache altogether.