Swarthmore / litterfall

Application and Scripts used for the Litterfall Project
0 stars 1 forks source link

Caching the list of tree species #22

Closed zafire06 closed 11 years ago

zafire06 commented 11 years ago

This is a small concern, but it would be nice if we could cache the list of species, so that we do not have to call it from the database too often. Given that our data set is small (but it might be bigger later—who knows?) and the number of users limited, we don't really have to pay any attention to this—yet.

lleach1 commented 11 years ago

I would recommend putting the species data in LocalStorage for quick retrieval: http://diveintohtml5.info/storage.html#halma

jadams1 commented 11 years ago

Okay we made a JSON file for the list of tree species in data/species.html. Done.