njit(cache=True) best pratices

Hi! Recently I discovered the cache argument and I would like to ask for best practices. In particular, is it a good practice to release a python package (on pip and conda) with that argument equal to True?

Thanks in advance.

Iā€™m no expert, but you may want to consider leaving it off by default but controllable by an environment variable so the user can turn it on if they wish.

1 Like