Jump to content

Settings/Services/Caching

From Official Kodi Wiki
Revision as of 03:25, 5 August 2025 by Karellen (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  ▶ Settings ▶ Services ▶ Caching



General

These cache settings were previously added and modified via the Advancedsettings.xml file. In v21 Omega these settings were moved to the Kodi GUI settings pages.[1]

There are no changes to these settings and they work as they did when they were added to the advancedsettings.xml file.

Note: The advancedsettings.xml method of adding these settings is deprecated. Any tags you still may have in the file will be ignored.


Buffer Mode

Settings level: Advanced
Description: Choose what to buffer:
  • No buffer
  • Only buffer true internet streams: HTTP, HTTPS, etc
  • Buffer all internet filesystems, including: FTP, WebDAV, etc.
  • Buffer all network filesystems, including: SMB, NFS, etc.
  • Buffer all filesystems, including local files


Memory Size

Settings level: Advanced
Description: Select the number of megabytes used for buffering streams in memory. When set to 0 the cache will be written to disk instead of RAM


Read Factor

Settings level: Advanced
Description: This factor determines the max readrate in terms of readfactor * avg bitrate of a video file. This can help on bad connections to keep the cache filled. It will also greatly speed up buffering. Default value is 4x.

Low read factors work better on less powerful Android devices as it prevents CPU spikes and minimises the chance of over-saturating the network connection when using high bitrate media content (Bluray / UHD Bluray). But there were some drawbacks which are solved by the Adaptive option. It uses a more aggressive read factor when the cache is empty or low, and throttles back the read rate as the cache fills eventually settling down to a 1.5x read factor when the cache is filled and stable.[2]


Chunk Size

Chunk Size

Settings level: Advanced
Description: Allows the selection of the chunk size which may improve data throughput. May aid in better playback of high bit-rate UHD files, especially on low-powered devices or slow networks. [3]

Select from:

  • 16 KB
  • 32 KB
  • 64 KB
  • 128 KB (default)
  • 256 KB
  • 512 KB
  • 1 MB


References