mirror of
https://git.maid.zone/stuff/soundcloak.git
synced 2025-12-11 06:09:38 +05:00
tweak default cfg a bit
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user