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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Cache vs Runtime Session
I'm writing a map/reduce script that relies on both script parameters as well as some other preferences specific to the custom application. I don't want to create/run a search each time data is being processed so I thought I would use the 'N/cache' module. I then saw the 'N/runtime' session module as well. Both of these have storage options. Is 'N/cache' the more appropriate one to use for map/reduce? Is there a general rule to which one should with which script types?
0