ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developersโ€ข2y agoโ€ข
1 reply
divrawat

Cloudflare Pages invoking functions on request to static assets in Next.js

I have deployed a fully static next.js website (pages directory of next.js) to cloudflare pages and I have added _routes.json file to root of my project excluding static assets from function invocation.

But still my Dashboard is showing the requests made , but it is a fully static site.

Is functions directory creating compalsory since all my website is static. Here is my github repo - https://github.com/divrawat/One-Blog
GitHub
GitHub - divrawat/One-Blog
Contribute to divrawat/One-Blog development by creating an account on GitHub.
GitHub - divrawat/One-Blog
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

Next.js on Cloudflare pages
Cloudflare DevelopersCDCloudflare Developers / general-help
11mo ago
Next.js API /health throwing 500 on Cloudflare Pages with @cloudflare/next-on-pages
Cloudflare DevelopersCDCloudflare Developers / general-help
2w ago
Cloudflare Static Assets Caching
Cloudflare DevelopersCDCloudflare Developers / general-help
15mo ago
Git Integration Next JS Cloudflare pages
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago