Adding cache to docs