Kinto / kinto-discovery-lib

1 stars 0 forks source link

The key should contain central repository name too #6

Open oak11 opened 8 years ago

oak11 commented 8 years ago

something like this:

var key = 'kinto:server-url:'+ centralRepositoryURL + userID;

Here, key is unique for each user and is mapped to a userStorageURL in localStorage. if we add central repository in the key too, one user can cache multiple userStorageURLs for multiple central repositories.

oak11 commented 8 years ago

resolved in https://github.com/Kinto/kinto-discovery-lib/pull/10