Difference between revisions of "Caches explained"

From Official Kodi Wiki
Jump to navigation Jump to search
Line 5: Line 5:
== Video cache and the source of most "out of cache" messages ==
== Video cache and the source of most "out of cache" messages ==
{{main|HOW-TO:Modify the video cache}}
{{main|HOW-TO:Modify the video cache}}
The video cache is the most common cache that people talk about when it comes to Kodi. The video cache works by saving a few seconds of video before it is needed, so that if there are small slowdowns or bumps in loading the video, it will not constantly pause while waiting to get enough data to resume playing back. The video cache is normally stored in RAM and erased on the fly, as needed. It requires no user intervention to "empty" this cache.
A warning about the cache filling up does not actually mean that more cache space is needed or that the existing cache needs to be emptied. The warning box is not currently well worded and has lead to a lot of confusion with users. What it means is that the video is loading too slowly for the cache to smooth out all of the bumps, and that the bumps will keep happening due to that low video speed.


=== "Zero" cache ===
=== "Zero" cache ===

Revision as of 00:12, 15 April 2015

"Cache" can refer to one of many different types of caches that Kodi uses, and most are not directly related to each other.

Unlike other pages on the wiki that describe a specific feature or how to get something done, this page is dedicated to helping dispel some of the myths and mystery around the different types of caches that Kodi uses.

1 Video cache and the source of most "out of cache" messages

The video cache is the most common cache that people talk about when it comes to Kodi. The video cache works by saving a few seconds of video before it is needed, so that if there are small slowdowns or bumps in loading the video, it will not constantly pause while waiting to get enough data to resume playing back. The video cache is normally stored in RAM and erased on the fly, as needed. It requires no user intervention to "empty" this cache.

A warning about the cache filling up does not actually mean that more cache space is needed or that the existing cache needs to be emptied. The warning box is not currently well worded and has lead to a lot of confusion with users. What it means is that the video is loading too slowly for the cache to smooth out all of the bumps, and that the bumps will keep happening due to that low video speed.

1.1 "Zero" cache

2 Image cache

3 Temp files

4 External add-on cache

5 Android application cache