Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Do not cache main index.html as it is server-rendered

Gabe Kangasa7b400abdcff
diff --git a/utils/utils.go b/utils/utils.go
index 9b69c24193..a8c6da378f 100644
--- a/utils/utils.go
+++ b/utils/utils.go
@@ -199,6 +199,8 @@ func GetCacheDurationSecondsForPath(filePath string) int {
return 0
} else if fileExtension == ".jpg" || fileExtension == ".png" || fileExtension == ".gif" || fileExtension == ".svg" {
return 60 * 60 * 24 * defaultDaysCached
+ } else if fileExtension == ".html" {
+ return 0
}
// Default cache length in seconds