Caching vs AOT: What are the use cases?

Hey!

I’m pretty new to Numba and I jitted some big functions in my code. I wanted to use Numba because I need to run a function below 1 second for each pass.

I have tried to cache my functions but even with everything on disks, I keep having 30 secondes taken for compilation at the start of my runs.
My code will need to be run in another linux machine, is it ok just to save the cache files and just copy/cache and specifying the numba cache dir in a script or doing AOT presents an advantage ?

Thank you