{"action":"created","issue":{"url":"https://api.github.com/repos/PolymerElements/app-storage/issues/46","repository_url":"https://api.github.com/repos/PolymerElements/app-storage","labels_url":"https://api.github.com/repos/PolymerElements/app-storage/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/PolymerElements/app-storage/issues/46/comments","events_url":"https://api.github.com/repos/PolymerElements/app-storage/issues/46/events","html_url":"https://github.com/PolymerElements/app-storage/issues/46","id":157637652,"number":46,"title":"Auto cleanup (LRU)","user":{"login":"ronnyroeller","id":9339055,"avatar_url":"https://avatars.githubusercontent.com/u/9339055?v=3","gravatar_id":"","url":"https://api.github.com/users/ronnyroeller","html_url":"https://github.com/ronnyroeller","followers_url":"https://api.github.com/users/ronnyroeller/followers","following_url":"https://api.github.com/users/ronnyroeller/following{/other_user}","gists_url":"https://api.github.com/users/ronnyroeller/gists{/gist_id}","starred_url":"https://api.github.com/users/ronnyroeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronnyroeller/subscriptions","organizations_url":"https://api.github.com/users/ronnyroeller/orgs","repos_url":"https://api.github.com/users/ronnyroeller/repos","events_url":"https://api.github.com/users/ronnyroeller/events{/privacy}","received_events_url":"https://api.github.com/users/ronnyroeller/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PolymerElements/app-storage/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-31T10:19:16Z","updated_at":"2016-06-15T22:32:00Z","closed_at":"2016-06-15T22:32:00Z","body":"We cache the user data in local storage for offline usage. We can't use pure Web Worker because we need to support browsers that don't support it and because the cached data can be changed during offline usage.\r\nSince the space for local storage is limited (depending on the browser), it will sooner or later be filled up. At this point, local storage won't accept new entries.\r\n\r\nWhat's the adviced way to regularly (automatically) clean up local storage (eg LRU) using the app-storage elements?"},"comment":{"url":"https://api.github.com/repos/PolymerElements/app-storage/issues/comments/226339624","html_url":"https://github.com/PolymerElements/app-storage/issues/46#issuecomment-226339624","issue_url":"https://api.github.com/repos/PolymerElements/app-storage/issues/46","id":226339624,"user":{"login":"cdata","id":240083,"avatar_url":"https://avatars.githubusercontent.com/u/240083?v=3","gravatar_id":"","url":"https://api.github.com/users/cdata","html_url":"https://github.com/cdata","followers_url":"https://api.github.com/users/cdata/followers","following_url":"https://api.github.com/users/cdata/following{/other_user}","gists_url":"https://api.github.com/users/cdata/gists{/gist_id}","starred_url":"https://api.github.com/users/cdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdata/subscriptions","organizations_url":"https://api.github.com/users/cdata/orgs","repos_url":"https://api.github.com/users/cdata/repos","events_url":"https://api.github.com/users/cdata/events{/privacy}","received_events_url":"https://api.github.com/users/cdata/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T22:32:00Z","updated_at":"2016-06-15T22:32:00Z","body":"Thanks @ronnyroeller , looks cool!"}}
{"actor":{"display_login":"cdata"}}