makepanic / globe

JS application to explore and use the Tor onionoo API
MIT License
61 stars 12 forks source link

Cache Details result #4

Closed makepanic closed 11 years ago

makepanic commented 11 years ago

To avoid requesting the details for a given fingerprint every time we could store the result on the first successful request.

Possible implementations:

localStorage:

indexedDB:

makepanic commented 11 years ago

Current implementation stores all the detail results in an array and reads from them if a detail is requested that was requested earlier.

makepanic commented 11 years ago

see this commit for details