Modules
Objects/Functions
SuiteScript 2.0
cache.Scope.{|PRIVATE,PROTECTED,PUBLIC|}
N/cache Module
cache.Scope
Enum Description:
Enumeration that holds string values that describe the availability of the cache. This enum is used to set the value of the Cache.scope property.
Type:
enum
Supported Script Types:
All server-side scripts
For additional information, see SuiteScript 2.0 Script Types.
Module:
N/cache Module
Sibling Module Members:
N/cache Module Members
Since:
2016.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=cache.Scope
Example:
// Code Example 1
//Add additional code
//...
var myCache = cache.getCache({
name: 'temporaryCache',
scope: cache.Scope.PRIVATE
});
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4655722738.html