put items in cache