WP Super Cache RSS Feed Content Type Issue
I’m having trouble with RSS feeds while running WP Super Cache on WP 3.0.1. It seems that with an empty cache folder, WP Super Cache creates a cached copy of the RSS feed being requested and serves up the file with a different Content Type. When viewing a fresh (yet to be cached) RSS feed in Firefox, it displays with the default XML file style and says this at the top of the page:
“This XML file does not appear to have any style
information associated with it.”
The bottom of the feed in FF displays the WP Cache messages:
<!– Dynamic page generated in 4.672 seconds. –>
<!– Cached page generated by WP-Super-Cache on 2010-09-20 15:46:44 –>
When I refresh the page again, it displays as a proper RSS feed in FF. I also notice that the content type is “application/xhtml+xml”. However, on the first load, the content type seems to be text/xml.
I have read other posts that discuss issues like this, that pinpoint the use of output buffering. Some of the feeds I’m experiencing this issue with do in fact use output buffering, but some do not. The thing that confused me about this issue is that no one ever describes what the specific issue with output buffering is. They simply say that it’s related to output buffering. Does this mean that output buffering can’t be used at all, or does it mean that there’s a specific way it must be used to be compatible with WP Super Cache?
I can go into more detail, but I would love to see if anyone else out there has experienced this issue and has done a deeper diagnosis before I write too much more here.
Thanks for your help,
- The topic ‘WP Super Cache RSS Feed Content Type Issue’ is closed to new replies.