gg67/VandyMobile — pull request #6 by gg67 (2012-07-04 05:31:18+00:00)
Title: Cache meetings

They way this works is freakin cool. So the first step was to add some code on the server that would send the data only if the phones data was old. When the phone requests the meeting data, if the etag on the server doesn't match the data on the phone, a 200 response is returned as well as the new data (and the etag on the phone is updated). If the etag on the server matches the etag of the phone, a 304 response with NO data is returned and the data from the cache is used. Called HTTPCaching. And its freakin awsome.