Skip to content

Commit 775eb9f

Browse files
authored
Add no-store to range request (#1564)
1 parent a4c7acb commit 775eb9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/transformers/src/utils/model_registry/get_file_metadata.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ async function fetch_file_head(urlOrPath) {
3434

3535
const headers = getFetchHeaders(urlOrPath);
3636
headers.set('Range', 'bytes=0-0');
37-
return env.fetch(urlOrPath, { method: 'GET', headers });
37+
return env.fetch(urlOrPath, { method: 'GET', headers, cache: 'no-store' });
3838
}
3939

4040
/**

0 commit comments

Comments
 (0)