get ready for caching