© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•11mo ago•
4 replies
gyemo

cannot access cached pages created by worker

Hi. Beginner programmer here, using lots of help from AI. On free cloudflare plan.

I am trying to fetch some data, do some math on it and create a page with the data. I expect the data to be cached for a full day instead of fetching and creating a new page on each request.

I succesfully created an HTTP endpoint which can read the previously stored data (in KV), create the webpage and cache it. I can then access the page from my browser. This is all good.

My problem is I want this to happen on a schedule. I created the scheduler, which successfully runs. fetches and stores the data. Here is where my problems start. From this scheduler I fetch the http endpoint mentioned earlier, which should trigger the creation of the website and caching. According to the logs I am succesfully doing this but when I try to access the cached page from my local browser i get a cache not found.

I have already attempted doing this by triggering the http endpoint. I have also done it using internal function calls and finally with lots of AI help i changed it to do the same with RPC.
In all three methods I theoretically am creating the page and caching it with no logged errors, but when I try to access it with my browser i cannot find the page. (as i mentioned earlier, if I trigger the http endpoint from my browser, then it does work).

What am I missing? Could it be that when the worker caches the page it is cached in a zone different than the one my browser accesses? If yes, how do i solve this?
What other things should I check?

thank you!
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Cannot delete worker & pages
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
6mo ago
Worker response is not cached by default?
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
Set cookie for worker, access by worker not working.
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago
Unable to access worker pages in Dashboard
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago