create primecache wrapper and modify for production use