0

I'm looking at the "Lists" section of the XML API documentation and I'm wondering how I'm supposed to sync and cache the lists. A few questions that come to mind are:

1.) Can ID's be reused? If not, it simplifies my logic because I only have to retrieve lists again if I see an ID I don't have cached. If they can be reused, I'd have to get the list every time I get an ID, which doesn't seem very efficient.

2.) Is there any way to be notified that a value in a list was edited? For example, if I retrieve and cache the list of priorities, I don't want to get out of sync if someone updates the names.

I'm writing a mobile app, so I'd like to reduce the network traffic as much as possible. Idealily, once I downloaded a list, I'd save it locally for future use. It's unclear to me how often I need to invalidate the cache, though, and how I should detect that.

flag
There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors. – FogBugz FAQ Mar 4 2011 at 14:58
I think you should contact us directly so we can understand your development, goals, and approach and advise accordingly. contact.fogcreek.com – FogBugz FAQ Mar 4 2011 at 14:58

closed as too localized by Rich Armstrong♦♦ Mar 15 2011 at 15:22

Browse other questions tagged or ask your own question.