{"action":"created","issue":{"url":"https://api.github.com/repos/juho-jaakkola/elgg-notifier/issues/7","labels_url":"https://api.github.com/repos/juho-jaakkola/elgg-notifier/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/juho-jaakkola/elgg-notifier/issues/7/comments","events_url":"https://api.github.com/repos/juho-jaakkola/elgg-notifier/issues/7/events","html_url":"https://github.com/juho-jaakkola/elgg-notifier/issues/7","id":53445978,"number":7,"title":"lightweight server ping for new activities","user":{"login":"mrclay","id":170687,"avatar_url":"https://avatars.githubusercontent.com/u/170687?v=3","gravatar_id":"","url":"https://api.github.com/users/mrclay","html_url":"https://github.com/mrclay","followers_url":"https://api.github.com/users/mrclay/followers","following_url":"https://api.github.com/users/mrclay/following{/other_user}","gists_url":"https://api.github.com/users/mrclay/gists{/gist_id}","starred_url":"https://api.github.com/users/mrclay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrclay/subscriptions","organizations_url":"https://api.github.com/users/mrclay/orgs","repos_url":"https://api.github.com/users/mrclay/repos","events_url":"https://api.github.com/users/mrclay/events{/privacy}","received_events_url":"https://api.github.com/users/mrclay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-05T20:48:58Z","updated_at":"2015-01-05T22:41:24Z","closed_at":null,"body":"Throwing this idea out there... Each user gets associated with a public text file (with a unique token name). When the user \"receives\" a notification, we update a timestamp in the file. This way, we can have the client ping the flat text file (at little cost) to look for changes. If no changes, the server 304's the file, else, the client timestamp is updated and the client updates the notification view from the server."},"comment":{"url":"https://api.github.com/repos/juho-jaakkola/elgg-notifier/issues/comments/68795464","html_url":"https://github.com/juho-jaakkola/elgg-notifier/issues/7#issuecomment-68795464","issue_url":"https://api.github.com/repos/juho-jaakkola/elgg-notifier/issues/7","id":68795464,"user":{"login":"mrclay","id":170687,"avatar_url":"https://avatars.githubusercontent.com/u/170687?v=3","gravatar_id":"","url":"https://api.github.com/users/mrclay","html_url":"https://github.com/mrclay","followers_url":"https://api.github.com/users/mrclay/followers","following_url":"https://api.github.com/users/mrclay/following{/other_user}","gists_url":"https://api.github.com/users/mrclay/gists{/gist_id}","starred_url":"https://api.github.com/users/mrclay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrclay/subscriptions","organizations_url":"https://api.github.com/users/mrclay/orgs","repos_url":"https://api.github.com/users/mrclay/repos","events_url":"https://api.github.com/users/mrclay/events{/privacy}","received_events_url":"https://api.github.com/users/mrclay/received_events","type":"User","site_admin":false},"created_at":"2015-01-05T22:41:24Z","updated_at":"2015-01-05T22:41:24Z","body":"fleshed out the idea [here](https://community.elgg.org/discussion/view/1976430/plugin-idea-lightweight-server-polling-service) an idea for a plugin to provide polling as a service."}}