{"action":"created","issue":{"url":"https://api.github.com/repos/Softcatala/web-2015/issues/113","repository_url":"https://api.github.com/repos/Softcatala/web-2015","labels_url":"https://api.github.com/repos/Softcatala/web-2015/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/Softcatala/web-2015/issues/113/comments","events_url":"https://api.github.com/repos/Softcatala/web-2015/issues/113/events","html_url":"https://github.com/Softcatala/web-2015/issues/113","id":147260951,"number":113,"title":"En fer els canvis a una fitxa de program es triga estona fins que l'usuari no registrat els veu","user":{"login":"jordimas","id":309265,"avatar_url":"https://avatars.githubusercontent.com/u/309265?v=3","gravatar_id":"","url":"https://api.github.com/users/jordimas","html_url":"https://github.com/jordimas","followers_url":"https://api.github.com/users/jordimas/followers","following_url":"https://api.github.com/users/jordimas/following{/other_user}","gists_url":"https://api.github.com/users/jordimas/gists{/gist_id}","starred_url":"https://api.github.com/users/jordimas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordimas/subscriptions","organizations_url":"https://api.github.com/users/jordimas/orgs","repos_url":"https://api.github.com/users/jordimas/repos","events_url":"https://api.github.com/users/jordimas/events{/privacy}","received_events_url":"https://api.github.com/users/jordimas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Softcatala/web-2015/labels/review","name":"review","color":"e6e6e6"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-10T20:14:57Z","updated_at":"2016-04-11T21:15:35Z","closed_at":null,"body":"En fer els canvis a una fitxa de program es triga estona fins que l'usuari no registrat els veu. Sembla que Redis no invalida bé la memòria cau"},"comment":{"url":"https://api.github.com/repos/Softcatala/web-2015/issues/comments/208564917","html_url":"https://github.com/Softcatala/web-2015/issues/113#issuecomment-208564917","issue_url":"https://api.github.com/repos/Softcatala/web-2015/issues/113","id":208564917,"user":{"login":"xavivars","id":134083,"avatar_url":"https://avatars.githubusercontent.com/u/134083?v=3","gravatar_id":"","url":"https://api.github.com/users/xavivars","html_url":"https://github.com/xavivars","followers_url":"https://api.github.com/users/xavivars/followers","following_url":"https://api.github.com/users/xavivars/following{/other_user}","gists_url":"https://api.github.com/users/xavivars/gists{/gist_id}","starred_url":"https://api.github.com/users/xavivars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavivars/subscriptions","organizations_url":"https://api.github.com/users/xavivars/orgs","repos_url":"https://api.github.com/users/xavivars/repos","events_url":"https://api.github.com/users/xavivars/events{/privacy}","received_events_url":"https://api.github.com/users/xavivars/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T21:15:35Z","updated_at":"2016-04-11T21:15:35Z","body":"Nous canvis fets. El problema era el següent\r\n1. Tenim la web instal·lada darrere d'un nginx que fa de reverse proxy (main) i que enruta les peticions HTTPS al servidor intern, que les rep com a HTTP\r\n2. WordPress està configurat per a \"creure\" que les peticions les rep per HTTPS i generar tots els URLs amb HTTPS\r\n3. Nginx cercava a la memòria cau de Redis les peticions tal qual les rebia (HTTP) i, si no existien, les demanava al WordPress i després les guardava a la memòria cau **utilitzant com a clau la URL**\r\n4. WordPress intentava esborrar les pàgines de la memòria cau de Redis amb la URL \"final\" de les pàgines (HTTPS), i no ho trobava.\r\n\r\nS'ha resolt \"forçant\" a que Nginx busque i dese a Redis utilitzant sempre HTTPS com a part de la clau."}}