Marvin
02/20/2026, 10:11 AMN/cache . I have tried require.defined("N/cache"), require.specified("N/cache"), but these checks seem to fail server side. I have tried asynchronous module loading with fallback, but haven't figure out a method for this that would seem reliable across different script types. How I want it to work is if N/cache is not available then load the callback function that was passed directly. But server side it would detect that N/cache is available and utilize caching.battk
02/20/2026, 1:49 PMbattk
02/20/2026, 1:49 PMMarvin
02/20/2026, 2:00 PMN/cache in the calling script where I want and it just becomes an optional parameter in the function this would maintain backwards compatibility and I could just update where I think it's more critical to maintain caching.