Jump to content

RSS and HTTP cache protocole


zegzav

Recommended Posts

Hello,

To reduce data exchange for the clients and the RSS servers, uTorrent could handle the HTTP cache protocole if the RSS server supports it :

- Send the appropriate HTTP header fields "If-Modified-Since" and "If-None-Match" if the server previously respond with fields "Last-Modified" and/or "ETag".

- Handle the 304 (Not Modified) HTTP response

Thanks.

Link to comment
Share on other sites

  • 8 months later...

Here an article about HTTP conditional request:

http://fishbowl.pastiche.org/2002/10/21/http_conditional_get_for_rss_hackers/

This is not a "rss-reader-specific behavior" but a standard HTTP optimization for pages accessed frequently.

The implementation on client-side is really simple. Save the tags Etag and/or Last-Modified from the HTTP response. Add the tags If-None-Match and If-Modified-Since to the next requests. Check the response is 304 or not.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...