Issue #2135169 by fago: Support caching of failed load operations.