DNF metadata_expire Configuration and Automated Cache Refresh Boundaries
Cache Expiration Behavior DNF caches repository metadata under /var/cache/dnf with a configurable metadata_expire value that defaults to six hours for new metadata and thirty days for previously successful metadata. The setting controls when an automatic refresh is triggered, yet the exact interaction between the expire window, explicit dnf makecache calls,