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 @@ -427,7 +427,7 @@ def upload_libtorch_html(self) -> None:
427
427
key = f"{ subdir } /{ self .html_name } "
428
428
).put (
429
429
ACL = 'public-read' ,
430
- CacheControl = 'no-cache,no-store,must-revalidate ' ,
430
+ CacheControl = 'max-age=600, public ' ,
431
431
ContentType = 'text/html' ,
432
432
Body = index_html
433
433
)
@@ -441,7 +441,7 @@ def upload_pep503_htmls(self) -> None:
441
441
key = f"{ subdir } /index.html"
442
442
).put (
443
443
ACL = 'public-read' ,
444
- CacheControl = 'no-cache,no-store,must-revalidate ' ,
444
+ CacheControl = 'max-age=600, public ' ,
445
445
ContentType = 'text/html' ,
446
446
Body = index_html
447
447
)
@@ -454,7 +454,7 @@ def upload_pep503_htmls(self) -> None:
454
454
key = f"{ subdir } /{ compat_pkg_name } /index.html"
455
455
).put (
456
456
ACL = 'public-read' ,
457
- CacheControl = 'no-cache,no-store,must-revalidate ' ,
457
+ CacheControl = 'max-age=600, public ' ,
458
458
ContentType = 'text/html' ,
459
459
Body = index_html
460
460
)
You can’t perform that action at this time.
0 commit comments