changed cache.py from kang2
Merge branch 'master' of github.com:yanlisa/P2PVideoShare