{"action":"created","issue":{"url":"https://api.github.com/repos/putaindecode/putaindecode.fr/issues/358","labels_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/issues/358/labels{/name}","comments_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/issues/358/comments","events_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/issues/358/events","html_url":"https://github.com/putaindecode/putaindecode.fr/issues/358","id":63378998,"number":358,"title":"Ajax, localStorage et pushState pour un site plus rapide","user":{"login":"justinmarsan","id":639365,"avatar_url":"https://avatars.githubusercontent.com/u/639365?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmarsan","html_url":"https://github.com/justinmarsan","followers_url":"https://api.github.com/users/justinmarsan/followers","following_url":"https://api.github.com/users/justinmarsan/following{/other_user}","gists_url":"https://api.github.com/users/justinmarsan/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmarsan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmarsan/subscriptions","organizations_url":"https://api.github.com/users/justinmarsan/orgs","repos_url":"https://api.github.com/users/justinmarsan/repos","events_url":"https://api.github.com/users/justinmarsan/events{/privacy}","received_events_url":"https://api.github.com/users/justinmarsan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-21T08:53:53Z","updated_at":"2015-03-23T09:15:25Z","closed_at":null,"body":"J'ai commencé à bosser sur un petit projet, je me dis que ça peut éventuellement être intéressant pour P!\r\n\r\nL'idée de base étant de pre-loader les pages d'un \"petit\" site, de stocker le contenu dans localStorage et remplacer tout le body au clic sur un lien interne, pour éviter de perdre du temps sur l'établissement de la connection, le rechargement de certains éléments & co, avec pushState pour conserver le Back Button et l'historique.\r\n\r\nJ'ai déjà un plan grossier, c'est pas hyper complexe mais la technique me semble que très peu utilisés alors que ça serait applicable sur quasiment n'importe quel portfolio ou petit site (parce que y'a pas que les web apps dans la vie :D) et ça donne une occasion de jouer avec des techniques plutôt basique pour autre chose que mettre à jour un fil de news ou faire un Todo."},"comment":{"url":"https://api.github.com/repos/putaindecode/putaindecode.fr/issues/comments/84906172","html_url":"https://github.com/putaindecode/putaindecode.fr/issues/358#issuecomment-84906172","issue_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/issues/358","id":84906172,"user":{"login":"lionelB","id":160320,"avatar_url":"https://avatars.githubusercontent.com/u/160320?v=3","gravatar_id":"","url":"https://api.github.com/users/lionelB","html_url":"https://github.com/lionelB","followers_url":"https://api.github.com/users/lionelB/followers","following_url":"https://api.github.com/users/lionelB/following{/other_user}","gists_url":"https://api.github.com/users/lionelB/gists{/gist_id}","starred_url":"https://api.github.com/users/lionelB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lionelB/subscriptions","organizations_url":"https://api.github.com/users/lionelB/orgs","repos_url":"https://api.github.com/users/lionelB/repos","events_url":"https://api.github.com/users/lionelB/events{/privacy}","received_events_url":"https://api.github.com/users/lionelB/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T09:15:25Z","updated_at":"2015-03-23T09:15:25Z","body":"Super idée. Si tu peux faire un bench avant/après selon les navigateurs, je pense que ça pourrait être taupe!"}}