course caching
refine course local cache
merge zhangjc for replay