Skip to content

mumc_configyaml>admin_settings>cache>size

terrelsa13 edited this page May 13, 2024 · 2 revisions

  • Description
admin_settings:
  cache:
    size: integer
  • Maximum cache size in MEGABYTES.

  • To keep MUMC and the Emby/Jellyfin server running efficiently we want to send repetitive API queries to the sever the least amount of times possible

  • If any single data entry is larger than the cache size, that data entry will not be cached

  • 1MB of cache is better than 0MB of cache

  • Setting DEBUG: 1 will print the cache statistics to help determine the best cache settings (i.e. size, fallback_behavior, and minimum_age)

  • Byte Sizing Reference

    • 1 000 000 B = 1 MB = 0.001 GB
    • 10 000 000 B = 10 MB = 0.01 GB
    • 100 000 000 B = 100 MB = 0.1 GB
    • 1 000 000 000 B = 1 000 MB = 1 GB
    • 10 000 000 000 B = 10 000 MB = 10 GB
  • 0 - Disable cache

  • 1-10000 - Size of cache in MEGABYTES (MB)


Example:

size: 32
Clone this wiki locally