Cache named profiles in memory in the Python application, since they're immutable once written.