Use caching for docs.

Signed-off-by: crynobone <crynobone@gmail.com>