Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Is conditional module loading officially supported in any sense?
...or will I be shooting myself in the foot?
I was disappointed that N/cache is server-side only, so I thought I might build a wrapper. I have a fairly slow-running module that's a little pokey on the server-side but it's intolerably slow client-side, and I'd like to improve it in both without too much yak shaving in each and every caller. So a quick cache wrapper made sense. I did something similar to what was described here, but when I went back to edit the script calling the wrapper module, I was greeted with "Fail to evaluate script: All SuiteScript API Modules are unavailable while executing your define callback"
0