Included a cache to speedup compilation