move cache from _old to lib