def persist_if_cached(self, record):
        cache_key = self._get_cache_key(record)
        if cache_key in self.ephemeral:
            self.persist(record)
If the record is already ephemerally cached, this promotes it to
dataset/ETHPy150Open lektor/lektor/lektor/db.py/RecordCache.persist_if_cached