Partial answer -- YouTube is scripted almost entirely in Python, and all video plays through Flash, which does cache data. I'm doing a little reading, but from what I'm seeing, where and how Flash caches is a subject of much pain and argument.
[edit, solution removed as two better ones are posted below]
Bookmarks