diff --git a/src/httpRangeFetcher.js b/src/httpRangeFetcher.js
index <HASH>..<HASH> 100644
--- a/src/httpRangeFetcher.js
+++ b/src/httpRangeFetcher.js
@@ -154,7 +154,8 @@ class HttpRangeFetcher {
   async stat(key) {
     let stat = this.stats.get(key)
     if (!stat) {
-      await this._getChunk(key, 0)
+      const chunk = await this._getChunk(key, 0)
+      this._recordStatsIfNecessary(key, chunk)
       stat = this.stats.get(key)
       if (!stat) throw new Error(`failed to retrieve file size for ${key}`)
     }
Perform a record stats if there is found to be undefined