Add build option to cache input files in-memory for faster startup
Merge netcdf input file caching