HTTP Conditional GET in RSS (3 posts)

  1. Anonymous
    Posted 12 years ago #

    Many news aggregators user HTTP Conditional GET to skip retrieving RSS content just by looking at HTTP headers. Unfortunately, this only works if the RSS feed is a static file and the server can determine the last modified time. Since WordPress uses dynamic file, the RSS feed will always appear to need an update.
    The simple solution is to have the RSS files send a header() with the last modified date (calculated by looking at the time stamp of the latest <item>)
    More information can be found here: http://fishbowl.pastiche.org/archives/001132.html
    Rather easy fix, and it makes WordPress look more modern ;-)

  2. Dougal Campbell
    Posted 12 years ago #

    I've added Conditional GET support for all three RSS flavors. However, the CVS server appears to be unavailable at the moment. I'll commit the changes as soon as possible.

  3. Dougal Campbell
    Posted 12 years ago #

    Okay, the servers came back up, and the new code is available from CVS now.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.