Cache.name

Property Description

The name of the cache.

Type

string

Supported Script Types

Server scripts

For additional information, see SuiteScript 2.x Script Types.

Module

N/cache Module

Parent Object

cache.Cache

Sibling Object Members

Cache Object Members

Since

2016.2

Syntax

Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/cache Module Script Samples

          //Add additional code 
...
var myCache = cache.getCache({
    name: 'temporaryCache', // Cache.name
    scope: cache.Scope.PRIVATE
});
...
//Add additional code 

        

Related Topics

General Notices