File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -434,7 +434,7 @@ def upload_libtorch_html(self) -> None:
434
434
key = f"{ subdir } /{ self .html_name } "
435
435
).put (
436
436
ACL = 'public-read' ,
437
- CacheControl = 'no-cache,no-store,must-revalidate ' ,
437
+ CacheControl = 'max-age=600, public ' ,
438
438
ContentType = 'text/html' ,
439
439
Body = index_html
440
440
)
@@ -448,7 +448,7 @@ def upload_pep503_htmls(self) -> None:
448
448
key = f"{ subdir } /index.html"
449
449
).put (
450
450
ACL = 'public-read' ,
451
- CacheControl = 'no-cache,no-store,must-revalidate ' ,
451
+ CacheControl = 'max-age=600, public ' ,
452
452
ContentType = 'text/html' ,
453
453
Body = index_html
454
454
)
@@ -461,7 +461,7 @@ def upload_pep503_htmls(self) -> None:
461
461
key = f"{ subdir } /{ compat_pkg_name } /index.html"
462
462
).put (
463
463
ACL = 'public-read' ,
464
- CacheControl = 'no-cache,no-store,must-revalidate ' ,
464
+ CacheControl = 'max-age=600, public ' ,
465
465
ContentType = 'text/html' ,
466
466
Body = index_html
467
467
)
You can’t perform that action at this time.
0 commit comments