public override bool FileExists(string virtualPath) { if (base.FileExists(virtualPath)) { return true; } var resource = Cache(virtualPath); return resource != null && !resource.IsDirectory; }