code in http_request.inc adds If-Modified-Since tags under certain conditions to keep from downloading the same feed over and over. Wordpress RSS feeds give incorrect Last-Modified dates (http://bit.ly/ayz7pq) and therefore my feeds import doesn't see my new data.

I've hacked the code on our install to work around this, but others might not know how to. A checkbox somewhere disabling caching of feeds would be nice.

Comments

Anonymous’s picture

I second this. My feed source has neither of those headers because it returns "must-revalidate" in the "Cache-Control" header.

alex_b’s picture

#1 is actually a different issue. cheekdotcom asks for a global kill switch for caching. But 'must-revalidate' should be implemented properly by http_request no matter what.

Anonymous’s picture

New issue created in http://drupal.org/node/945378 for checking "must-revalidate" in "Cache-Control" header.

alex_b’s picture

funkonaut: Thank you and - I am sorry, I should have pointed you to this existing issue right away: #922102: http_request does not respect Cache-Control - only found it again now.

twistor’s picture

Version: 6.x-1.0-beta9 » 7.x-2.x-dev

This is still a valid feature request, but I would like to qualify something. As things currently exist, "must-revalidate" is properly supported. "must-revalidate" only means that we should validate, or recalculate, the correctness of the cached data every time we load it. Feeds always does this.

Moving to 7.x

megachriz’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)

I think this feature request is already completely covered in #1360910: Don't cache_set full feed result in http_request.inc (or make optional), so closing this as a duplicate.