{"action":"opened","issue":{"url":"https://api.github.com/repos/WormBase/website/issues/5178","repository_url":"https://api.github.com/repos/WormBase/website","labels_url":"https://api.github.com/repos/WormBase/website/issues/5178/labels{/name}","comments_url":"https://api.github.com/repos/WormBase/website/issues/5178/comments","events_url":"https://api.github.com/repos/WormBase/website/issues/5178/events","html_url":"https://github.com/WormBase/website/issues/5178","id":183970372,"number":5178,"title":"Regarding caching of rest API widgets w/regard to the datomic api","user":{"login":"mgrbyte","id":3185091,"avatar_url":"https://avatars.githubusercontent.com/u/3185091?v=3","gravatar_id":"","url":"https://api.github.com/users/mgrbyte","html_url":"https://github.com/mgrbyte","followers_url":"https://api.github.com/users/mgrbyte/followers","following_url":"https://api.github.com/users/mgrbyte/following{/other_user}","gists_url":"https://api.github.com/users/mgrbyte/gists{/gist_id}","starred_url":"https://api.github.com/users/mgrbyte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgrbyte/subscriptions","organizations_url":"https://api.github.com/users/mgrbyte/orgs","repos_url":"https://api.github.com/users/mgrbyte/repos","events_url":"https://api.github.com/users/mgrbyte/events{/privacy}","received_events_url":"https://api.github.com/users/mgrbyte/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WormBase/website/labels/Bug%20Report","name":"Bug Report","color":"ededed"},{"url":"https://api.github.com/repos/WormBase/website/labels/source:%20offline%20chat","name":"source: offline chat","color":"ededed"},{"url":"https://api.github.com/repos/WormBase/website/labels/UI-data%20display","name":"UI-data display","color":"02e10c"},{"url":"https://api.github.com/repos/WormBase/website/labels/Webteam","name":"Webteam","color":"a369e7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-19T14:01:28Z","updated_at":"2016-10-19T14:01:28Z","closed_at":null,"body":"@a8wright and I recently deployed a fix for #5176, which looked to solve the issue.\r\nThe user subsequently reported they were still encountering a similar error (original message truncated for applicability):\r\n> I see that the genome representation for these split genes has been fixed=\r\n.\r\n>\r\n> But even after refreshing the pages\r\n>\r\n> http://www.wormbase.org/rest/widget/gene/WBGene00270290/\r\n> history?content-type=3Dapplication/json\r\n>\r\n> and\r\n>\r\n> http://www.wormbase.org/species/c_elegans/gene/WBGene00270290#05--3\r\n>\r\n> still return =E2=80=9CSplit-from=E2=80=9D.\r\n>\r\n> I=E2=80=99ve actually gone into the history file and edited it on my end,=\r\n so\r\n> there=E2=80=99s no urgent need for me. \r\n\r\nThe new datomic api for the URL the user quotes is shown to be correct by:\r\n```bash\r\ncurl -H \"Content-type: application/json\" http://datomic-to-catalyst.a26ahpitsj.us-east-1.elasticbeanstalk.com/rest/widget/gene/WBGene00270290/history\r\n```\r\nIt is my understanding that datomic rest API results are not cached - can this be confirmed?\r\nAssuming that no caching of the datomic API is done, then I only theorise that\r\nthe cache-building system has cached the result of the previously-incorrect version?\r\n\r\nFurthermore, if caching of the datomic rest API results is _not_ done,\r\nthen  the logic of the the website [code](WormBase/website/blob/acadb63e915df071a66aaff2aac5206dd1ec7385/lib/WormBase/Web/Controller/REST.pm#L875) that determines which back-end to source the data from  would seem incorrect?\r\n(There may be other configuration or code which means my reading of this is incorrect).\r\n"}}
{"actor":{"display_login":"mgrbyte"}}