endOfDirectory cacheToDisc argument
#1
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!
Reply
#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 Smile

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.


Image
Reply
#3
Thanks for the reply and thorough explanation. When you say re-word the existing documentation, are you referring to the pydocs?
Reply
#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.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
endOfDirectory cacheToDisc argument0