Problem:
FileManager::getFileRef uses UniqueRealFiles std::map to cache file entries by inode. On ext4 filesystem this solution only works for directories without changes during compilation process, which false for ModuleCache directories. This results in misleading cache hits. inode gets reused after PCM or .idx deletion (Happens very often), but this reuse is not tracked in FileManager.UniqueRealFiles.
Solution:
Use getBypassFile for PCM files as it does not have caching by inode.