pothos-library: cache the safe load results