Closed joewandy closed 3 years ago
Let's try the caching first....
The view_parents
page (used to display the details of a Mass2Motif) is also slow and can be sped up.
In fact, it can't even fully load for http://ms2lda.org/basicviz/view_parents/131944. Stuck while loading data for the fragmentation spectra plot as it generates an endless amount of SQL queries.
FIxed in commits https://github.com/glasgowcompbio/ms2ldaviz/commit/bd18d193cc8ee8932cd5dacdbf7c4a3ce9db30a6, https://github.com/glasgowcompbio/ms2ldaviz/commit/89776988259516887d000ea4eda615bf96160553, and https://github.com/glasgowcompbio/ms2ldaviz/commit/f670f3b62b48945592bfd36c9c1deac2d076ce14. These pages now load much much faster.