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.
something like this:
Here,
key
is unique for each user and is mapped to auserStorageURL
in localStorage. if we add central repository in the key too, one user can cache multipleuserStorageURL
s for multiple central repositories.