tweak default cfg a bit

This commit is contained in:
Laptop
2024-11-08 19:51:56 +02:00
parent acdd009789
commit 9721aaeb78
2 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ var FullyPreloadTrack = false
// proxy images (user avatars, track/playlist covers)
var ProxyImages = false
var ImageCacheControl = "max-age=600; public" // browser-side 10 minutes cache by default, only used for proxied images
var ImageCacheControl = "max-age=600, public, immutable" // browser-side 10 minutes cache by default, only used for proxied images
// proxy streams (hls playlist files and track parts)
var ProxyStreams = false
@@ -31,7 +31,7 @@ var ProxyStreams = false
// If this setting is set to true, ProxyStreams and FullyPreloadTrack will be ignored (you could count this as a replacement for having both as true, also should be a bit more effective)
// You can also easily download the songs this way (right click => save audio as..., the only downside is that there is no metadata)
var Restream = false
var RestreamCacheControl = "max-age=600; public" // browser-side 10 minutes cache by default, only used for restreamed songs
var RestreamCacheControl = "max-age=604800, public, immutable" // you shouldn't change this, it won't work the way you think it will (for now, maybe later i will fix it up)
// enable /_/info endpoint (shows if some settings are enabled/disabled)
var InstanceInfo = true