mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-22 17:06:17 +00:00
Update docs about caching
This commit is contained in:
parent
cf846e88ee
commit
54149a605c
@ -76,7 +76,13 @@ scanner_extensions = mp3 ogg
|
||||
## `[webapp]` section
|
||||
|
||||
`cache_dir`: directory used to store generated files, such as resized cover
|
||||
arts. Defaults to `/tmp/supysonic`.
|
||||
art or transcoded files. Defaults to `/tmp/supysonic`.
|
||||
|
||||
`cache_size`: maximum size (in megabytes) of the cache (except for trancodes).
|
||||
Defaults to 512 MB
|
||||
|
||||
`transcode_cache_size`: maximum size (in megabytes) of the transcode cache.
|
||||
Defaults to 1024 MB (1 GB)
|
||||
|
||||
`log_file`: rotating file where some events generated by the web server are
|
||||
logged. Leave empty to disable logging.
|
||||
@ -98,6 +104,12 @@ transcoding format. Defaults to `on`.
|
||||
; Optional cache directory. Default: /tmp/supysonic
|
||||
cache_dir = /var/supysonic/cache
|
||||
|
||||
; Main cache max size in MB. Default: 512
|
||||
cache_size = 512
|
||||
|
||||
; Transcode cache max size in MB. Default: 1024 (1GB)
|
||||
transcode_cache_size = 1024
|
||||
|
||||
; Optional rotating log file. Default: none
|
||||
log_file = /var/supysonic/supysonic.log
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user