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