Library Documentation
NPM
GitHub
Preparing search index...
The search index is not available
Amplify JS API Documentation
Amplify JS API Documentation
@aws-amplify/adapter-nextjs
index
<Reference Types>
IncrementalCache
Interface IncrementalCache
interface
IncrementalCache
{
get
(
cacheKey
,
ctx
)
:
Promise
<
null
|
IncrementalFetchCacheEntry
>
;
get
(
cacheKey
,
ctx
)
:
Promise
<
null
|
IncrementalResponseCacheEntry
>
;
revalidateTag
(
tags
,
durations
?
)
:
Promise
<
void
>
;
set
(
key
,
data
,
ctx
)
:
Promise
<
void
>
;
set
(
key
,
data
,
ctx
)
:
Promise
<
void
>
;
}
Hierarchy (
view full
)
IncrementalResponseCache
IncrementalCache
Implemented by
IncrementalCache
Index
Methods
get
revalidate
Tag
set
Methods
get
get
(
cacheKey
,
ctx
)
:
Promise
<
null
|
IncrementalFetchCacheEntry
>
Parameters
cacheKey
:
string
ctx
:
GetIncrementalFetchCacheContext
Returns
Promise
<
null
|
IncrementalFetchCacheEntry
>
get
(
cacheKey
,
ctx
)
:
Promise
<
null
|
IncrementalResponseCacheEntry
>
Parameters
cacheKey
:
string
ctx
:
GetIncrementalResponseCacheContext
Returns
Promise
<
null
|
IncrementalResponseCacheEntry
>
revalidate
Tag
revalidate
Tag
(
tags
,
durations
?
)
:
Promise
<
void
>
Parameters
tags
:
string
|
string
[]
Optional
durations
:
{
expire
?:
number
;
}
Optional
expire
?:
number
Returns
Promise
<
void
>
set
set
(
key
,
data
,
ctx
)
:
Promise
<
void
>
Parameters
key
:
string
data
:
null
|
CachedFetchValue
ctx
:
SetIncrementalFetchCacheContext
Returns
Promise
<
void
>
set
(
key
,
data
,
ctx
)
:
Promise
<
void
>
Parameters
key
:
string
data
:
null
|
CachedRedirectValue
|
IncrementalCachedPageValue
|
IncrementalCachedAppPageValue
|
CachedImageValue
|
CachedRouteValue
ctx
:
SetIncrementalResponseCacheContext
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
get
revalidate
Tag
set
Amplify JS API Documentation
aws-amplify
@aws-amplify
geo
interactions
predictions
pubsub
adapter-nextjs
datastore-storage-adapter