I understand that the common way of running Lua scripts with EVALSHA is to is to load the script first by passing it with SCRIPT LOAD. However, from my understanding, if the Redis server unexpectedly reboots, for example, the cached script will no longer exist and will have to be reloaded with SCRIPT LOAD.
Is there some way to set the Redis server to automatically load some specified Lua scripts from a file into its cache upon startup so they can be reliably executed with EVALSHA without worrying about the script possibly being unloaded?