Can anyone give more detail on how the caching works?
- How long are the directories cached for?
- Is the cache key url + query string?
- What is the threshold for CACHE_IF_SLOW?
Thanks!
endOfDirectory cacheToDisc argument
jbel
Senior Member Posts: 109 Joined: Apr 2009 Reputation: 5 Location: nyc |
2012-03-31 20:29
Post: #1
|
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2012-04-01 03:04
Post: #2
They're cached until the user re-requests the directory by clicking on it (i.e. they're just read from the cache if they go from media window -> video playing -> media window -> home -> media window). To get them re-read, the user must go up to the parent directory then back in.
The default time is I think either 1 or 1.5 seconds (this is the CACHE_IF_SLOW). The cache key is the full URL path from XBMC's perspective. Please let me know how to best re-word the existing documentation ![]() Cheers, Jonathan Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]()
(This post was last modified: 2012-04-01 03:04 by jmarshall.)
|
| find quote |
jbel
Senior Member Posts: 109 Joined: Apr 2009 Reputation: 5 Location: nyc |
2012-04-05 04:08
Post: #3
Thanks for the reply and thorough explanation. When you say re-word the existing documentation, are you referring to the pydocs?
|
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2012-04-05 04:43
Post: #4
Yup.
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |


![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)
Search
Help