public static Optional<ScriptResourceCacheManager<String, ExecutableCompiledScript>> getScriptResourceCacheManager() {
        return (Optional) getBean(ScriptResourceCacheManager.BEAN_NAME, ScriptResourceCacheManager.class);
    }
Gets script resource cache manager.

@return the script resource cache manager
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/spring/ApplicationContextProvider.java