working on docs cache