I have a remote repository configured in Artifactory to cache a public yum repository. I put the remote repository in "offline" mode. I found after a certain amount of time, I could now longer retrieve any of the files in the repodata folder. When doing so, I would receive a 404 - Resource has expired error message.
I would expect that if I put the remote rpm repository in offline mode, or the remote server is no longer accessible, that I should still be able to use the cached files. And if I have the cache set to never be cleaned up, then I should be able to use the rpm cache indefinitely.