mirror of
https://github.com/pnpm/pnpm.git
synced 2026-04-20 15:11:21 -04:00
- Set meta.modified from DB row in loadMetaFromDb so If-Modified-Since headers are sent even when modified comes from the DB column - Use || instead of && for header lookup so both etag and modified are populated even when one is already available from in-memory metadata - Check pending writes in MetadataCache.get/getHeaders instead of flushing in loadMetaFromDb, avoiding synchronous DB writes during resolution - Close MetadataCache when store controller is closed to prevent resource leaks - Add defensive slash-index guards in cache API functions