BZ1034588 : stale local cache file in UrlResource (cherry-picked from fe42528c978e78d94857db030db74c172766429e)