Skip to content

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

Do not cache HTML pages. Closes #2613

Gabe Kangas063cca468627
diff --git a/utils/utils.go b/utils/utils.go
index a8c6da378f..752baffcec 100644
--- a/utils/utils.go
+++ b/utils/utils.go
@@ -199,7 +199,7 @@ 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" {
+ } else if fileExtension == ".html" || filename == "/" || fileExtension == "" {
return 0
}