larsga / whazzup

Automatically exported from code.google.com/p/whazzup
0 stars 0 forks source link

Use conditional GET to retrieve feeds #58

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This way we can save lots of resources when the feed hasn't actually been 
updated.

Original issue reported on code.google.com by lar...@gmail.com on 30 Oct 2011 at 9:50

GoogleCodeExporter commented 8 years ago
Pick up "Last-Modified: Tue, 01 Nov 2011 13:49:35 GMT" from server, then store 
it in the feeds table.

On doing GET add this as "If-modified-since". If we get a 304, we're finished. 
If we get a 200 we proceed as normal.

Original comment by lar...@gmail.com on 1 Nov 2011 at 1:57

GoogleCodeExporter commented 8 years ago
To add column: alter table feeds add column last_modified varchar(50)

Original comment by lar...@gmail.com on 1 Nov 2011 at 2:21

GoogleCodeExporter commented 8 years ago
Now implemented and deployed.

Original comment by lar...@gmail.com on 2 Jun 2012 at 3:45