{"action":"opened","issue":{"url":"https://api.github.com/repos/CroissanceCommune/autonomie/issues/570","repository_url":"https://api.github.com/repos/CroissanceCommune/autonomie","labels_url":"https://api.github.com/repos/CroissanceCommune/autonomie/issues/570/labels{/name}","comments_url":"https://api.github.com/repos/CroissanceCommune/autonomie/issues/570/comments","events_url":"https://api.github.com/repos/CroissanceCommune/autonomie/issues/570/events","html_url":"https://github.com/CroissanceCommune/autonomie/issues/570","id":328428158,"node_id":"MDU6SXNzdWUzMjg0MjgxNTg=","number":570,"title":"Devis/factures PDF : mise en cache des pdfs des documents validés","user":{"login":"tonthon","id":592723,"node_id":"MDQ6VXNlcjU5MjcyMw==","avatar_url":"https://avatars0.githubusercontent.com/u/592723?v=4","gravatar_id":"","url":"https://api.github.com/users/tonthon","html_url":"https://github.com/tonthon","followers_url":"https://api.github.com/users/tonthon/followers","following_url":"https://api.github.com/users/tonthon/following{/other_user}","gists_url":"https://api.github.com/users/tonthon/gists{/gist_id}","starred_url":"https://api.github.com/users/tonthon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonthon/subscriptions","organizations_url":"https://api.github.com/users/tonthon/orgs","repos_url":"https://api.github.com/users/tonthon/repos","events_url":"https://api.github.com/users/tonthon/events{/privacy}","received_events_url":"https://api.github.com/users/tonthon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-01T08:33:40Z","updated_at":"2018-06-01T08:33:40Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Aujourd'hui on génère les pdfs à chaque appel\r\n- Cela consomme beaucoup de ressources \r\n- Lorsque l'on modifie la configuration, on modifie la sortie PDF (problème lorsqu'il y a changement, ex : déménagement)\r\n\r\nSolutions : mettre en cache les fichiers générés.\r\nAujourd'hui on utilise filedepot pour le stockage des fichiers en base de données (ce qui permet d'avoir les fichiers sur disque et une base de données qui reste light tout en bénéficiant des avantages du stockage en bdd comme les relations par exemple)."}}
{"actor":{"display_login":"tonthon"}}