Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Usage of Cache API with Pages - Cloudflare Developers
CD
Cloudflare Developers
•
3y ago
•
6 replies
うつぼP
Usage of Cache API with Pages
I am developing with SvelteKit on Pages
, and I would like to utilize the Cache API available in Workers
. However
, when I write the following code on the server side of SvelteKit
:
const cache = caches?.default;
const cache = caches?.default;
It returns
undefined
undefined
.
Is the Cache API not usable with Pages
?
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Pages DNS cache with prior 301
CD
Cloudflare Developers / pages-help
2y ago
Pages usage multiple accounts
CD
Cloudflare Developers / pages-help
13mo ago
Cloudflare Pages Cache / and cache warm-up
CD
Cloudflare Developers / pages-help
11mo ago
worker cache api
CD
Cloudflare Developers / pages-help
15mo ago