monarch-initiative / monarch-legacy

Monarch web application and API
BSD 3-Clause "New" or "Revised" License
42 stars 37 forks source link

Pre-cache as part of release process #868

Open cmungall opened 9 years ago

cmungall commented 9 years ago

Previously we ran a script that wget each of the disease and phenotype pages. This would no longer serve a purpose for phenotype pages, but any page with phenogrid front and center incur a ~1s latency the first time they are loaded until the profile is cached.

@kshefchek - would running the same script work or do we need a different strategy this is done client side now?

kshefchek commented 9 years ago

This probably is no longer doable with a wget, but we could write a simple script to fetch a phenotype list for an ID then query simseach, resulting in a cache file being created. Or alternatively we could use selenium with xvfb, but the former idea is probably simpler.