iobio / gene.iobio

Gene.iobio vue
MIT License
55 stars 11 forks source link

Only cache danger summary when it has changed #969

Closed tonydisera closed 10 months ago

tonydisera commented 10 months ago

When fixing #954 #951 #952, I noticed that there was a lag showing the called variants that were already cached. The lag was caused by unnecessary re-caching of the danger summary every time a gene was clicked (loaded). Now, there is a comparison between the existing and new gene summary and it is only cached when a difference is found.