move db dump to occur when you generate cache (to avoid publishing a db
out of sync with cache) - closes #66