Search
Star
Feedback
Setup for Free
Β© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
1. await CACHE.put("id1", JSON.stringify({ data: 'data' })); 2. await CACHE.put("storage", JSON.stri - Cloudflare Developers
CD
Cloudflare Developers
β’
5y ago
sten
1. await CACHE.put("id1", JSON.stringify({ data: 'data' })); 2. await CACHE.put("storage", JSON.stri
1
.
await CACHE
.put
(
"id1
"
, JSON
.stringify
(
{ data
:
'data
'
}
)
)
;
2
.
await CACHE
.put
(
"storage
"
, JSON
.stringify
(
{ id1
:
{ data
:
'data
'
}
, id2
:
{ data
:
'data
'
}
}
)
)
;
Are there any pros
/cons with these options
? What way would you store the data
?
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,436
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Bad DNS cache
CD
Cloudflare Developers / coding-help
4y ago
Next page