Preparing search index...
The search index is not available
@cloudflare/workers-types
@cloudflare/workers-types
Cache
Class Cache
Abstract
Index
Constructors
constructor
Methods
delete
match
put
Constructors
constructor
new
Cache
(
)
:
Cache
Returns
Cache
Methods
delete
delete
(
request
,
options
?
)
:
Promise
<
boolean
>
Parameters
request
:
RequestInfo
<
unknown
,
CfProperties
<
unknown
>
>
Optional
options
:
CacheQueryOptions
Returns
Promise
<
boolean
>
match
match
(
request
,
options
?
)
:
Promise
<
Response
>
Parameters
request
:
RequestInfo
<
unknown
,
CfProperties
<
unknown
>
>
Optional
options
:
CacheQueryOptions
Returns
Promise
<
Response
>
put
put
(
request
,
response
)
:
Promise
<
void
>
Parameters
request
:
RequestInfo
<
unknown
,
CfProperties
<
unknown
>
>
response
:
Response
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
delete
match
put
@cloudflare/workers-types
Loading...