Hello list, I have your average plain old RSS feed, which I''m caching using caches_page, and sweeping using a simple FeedSweeper cache sweeper (which just calls expire_page(..path..) in an after_save). The problem is that, than when I''m sweeping the cache, the whole feed gets marked as new (in netnewswire at least). I''ve noticed the same thing on a bunch of Typo based blogs out there... Is there some magic header I''m missing? All the items in the feed have a unique guid and so on, so the feedreader must look at something else, what could be causing it to see the whole feed as new? Cheers, JS -- http://johansorensen.com http://theexciter.com
François Beausoleil
2005-Aug-26 12:25 UTC
Re: All items getting refreshed when sweeping cached RSS
Hi ! Johan Sörensen said the following on 2005-08-26 03:40:> Is there some magic header I''m missing? All the items in the feed have > a unique guid and so on, so the feedreader must look at something > else, what could be causing it to see the whole feed as new?I would think your server is sending the cache file''s date and time stamp as part of the headers, as in Last-Modified: <timestamp>. When that changes, your feed reader considers the feed as new ? Hope that helps, François
On 8/26/05, François Beausoleil <fbeausoleil-IQIa899fVSs@public.gmane.org> wrote:> Hi ! > > Johan Sörensen said the following on 2005-08-26 03:40: > > Is there some magic header I''m missing? All the items in the feed have > > a unique guid and so on, so the feedreader must look at something > > else, what could be causing it to see the whole feed as new? > > I would think your server is sending the cache file''s date and time > stamp as part of the headers, as in Last-Modified: <timestamp>. When > that changes, your feed reader considers the feed as new ? > > Hope that helps, > FrançoisYes, but it shouldn''t consider every item new. That''s what the guids are for. Do you have a sample feed? -- rick http://techno-weenie.net
Julian ''Julik'' Tarkhanov
2005-Sep-04 20:50 UTC
Re: All items getting refreshed when sweeping cached RSS
On 26-aug-2005, at 9:40, Johan Sörensen wrote:> Hello list, > > I have your average plain old RSS feed, which I''m caching using > caches_page, and sweeping using a simple FeedSweeper cache sweeper > (which just calls expire_page(..path..) in an after_save). > > The problem is that, than when I''m sweeping the cache, the whole feed > gets marked as new (in netnewswire at least). I''ve noticed the same > thing on a bunch of Typo based blogs out there... > > Is there some magic header I''m missing? All the items in the feed have > a unique guid and so on, so the feedreader must look at something > else, what could be causing it to see the whole feed as new?I think this is exactly something the makers of Atom tried to overcome - thir GUIDs should actually work. Try the same with atom and report the results if it works out. -- Julian "Julik" Tarkhanov