move cache to goserver pkg