#23 [Cache] rewrite and test a new caching system

forgot the tpl ...