{"action":"created","issue":{"url":"https://api.github.com/repos/firebug/firequery/issues/30","labels_url":"https://api.github.com/repos/firebug/firequery/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/firebug/firequery/issues/30/comments","events_url":"https://api.github.com/repos/firebug/firequery/issues/30/events","html_url":"https://github.com/firebug/firequery/issues/30","id":94283332,"number":30,"title":"Optimization: send 'data-modified' packets only if needed","user":{"login":"janodvarko","id":37785,"avatar_url":"https://avatars.githubusercontent.com/u/37785?v=3","gravatar_id":"","url":"https://api.github.com/users/janodvarko","html_url":"https://github.com/janodvarko","followers_url":"https://api.github.com/users/janodvarko/followers","following_url":"https://api.github.com/users/janodvarko/following{/other_user}","gists_url":"https://api.github.com/users/janodvarko/gists{/gist_id}","starred_url":"https://api.github.com/users/janodvarko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janodvarko/subscriptions","organizations_url":"https://api.github.com/users/janodvarko/orgs","repos_url":"https://api.github.com/users/janodvarko/repos","events_url":"https://api.github.com/users/janodvarko/events{/privacy}","received_events_url":"https://api.github.com/users/janodvarko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-10T10:50:38Z","updated_at":"2015-08-18T15:02:11Z","closed_at":"2015-08-18T15:02:11Z","body":"The number or \"data-modified\" packets sent back to the client (by FireQueryActor) can be relatively big and it would be great if we can reduce the amount somehow.\r\n\r\nThe primary purpose of these event packets is to update UI of the Inspector panel. Make sure that the 'jquery-data' indicator (a little envelope icon) is created or removed. The Inspector panel usually doesn't display all of the elements and the update is not needed in most cases. So, if we could determine that the element, whose jQuery.data has changed, is actually not visible (or not even \"imported\" by the client) we don't have to send that data-modified packet at all.\r\n\r\nHow could we do that?\r\n\r\nHonza"},"comment":{"url":"https://api.github.com/repos/firebug/firequery/issues/comments/132241033","html_url":"https://github.com/firebug/firequery/issues/30#issuecomment-132241033","issue_url":"https://api.github.com/repos/firebug/firequery/issues/30","id":132241033,"user":{"login":"janodvarko","id":37785,"avatar_url":"https://avatars.githubusercontent.com/u/37785?v=3","gravatar_id":"","url":"https://api.github.com/users/janodvarko","html_url":"https://github.com/janodvarko","followers_url":"https://api.github.com/users/janodvarko/followers","following_url":"https://api.github.com/users/janodvarko/following{/other_user}","gists_url":"https://api.github.com/users/janodvarko/gists{/gist_id}","starred_url":"https://api.github.com/users/janodvarko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janodvarko/subscriptions","organizations_url":"https://api.github.com/users/janodvarko/orgs","repos_url":"https://api.github.com/users/janodvarko/repos","events_url":"https://api.github.com/users/janodvarko/events{/privacy}","received_events_url":"https://api.github.com/users/janodvarko/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T15:02:11Z","updated_at":"2015-08-18T15:02:11Z","body":"@captainbrosset: thanks, I have also reported bug for the 'has' method here:\r\nhttps://bugzilla.mozilla.org/show_bug.cgi?id=1195742\r\n(patch already attached)\r\n\r\nHonza\r\n\r\n"}}