HOW-TO:Modify the video cache

This page describes three advancedsettings.xml settings that can be used to maximize the video playback cache. You can use all or just a couple of these settings to see significant improvements in cache performance, should you require it (most users will not require these modifications). This can help with intermittent network issues, reduce how long the network is tied up, and/or improve battery life.

How-to modify the cache
If you don't already have an advancedsettings.xml file, it's very simple to make. XBMC uses this file for advanced settings and features that normal users shouldn't modify without first knowing what they do, as well as for experimental features, etc.


 * 1) Since you can use all or just some of the following settings, let's start out with the basic file. Create a plain text file (no rich text formatting, don't use .doc, etc) and save it as advancedsettings.xml. Make sure that the file extension is ".xml" and not ".txt" or ".xml.txt".
 * 2) Cut and paste this into your new plain text file:
 * 3) Add some or all of the settings tags from the next section.
 * 4) Save this file in your userdata folder:
 * If you have an existing file, make sure the tags, and settings we'll add between them, are between the main  tags.
 * If you have an existing file, make sure the tags, and settings we'll add between them, are between the main  tags.

Example 1
All three options enabled, using local hard drive for cache.
 * advancedsettings.xml

Example 2
Only cache size changed, using 100MB of RAM for cache (which requires 300MB of free RAM).
 * advancedsettings.xml

Example 3
Two options enabled, using 50MB of RAM for cache (which requires 150MB of free RAM), and cache both internet, LAN, and local content.
 * advancedsettings.xml