design choice: multi-threaded / asynchronous wxpython client?
Jarkko Torppa
torppa at staff.megabaud.fi
Sun Apr 27 12:26:11 EDT 2008
On 2008-04-27, David <wizzardx at gmail.com> wrote:
>>
>> 1) The data for the race about to start updates every (say) 15
>> seconds, and the data for earlier and later races updates only every
>> (say) 5 minutes. There is no point for me to be hammering the server
>> with requests every 15 seconds for data for races after the upcoming
>
> Try using an HTTP HEAD instruction instead to check if the data has
> changed since last time.
Get If-Modified-Since is still better
(http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html 14.25)
--
Jarkko Torppa
More information about the Python-list
mailing list