Will all incoming requests count towards usage when using advanced mode?

Hi folks, I'm interested in the advacned mode of the pages functions. Does return env.ASSETS.fetch(request); will comsume requests of plan even if they are static files?
2 Replies
razonyang
razonyangOP•3w ago
If so, is there a way to exclude paths from advanced mode worker? 🤔
razonyang
razonyangOP•3w ago
OK, I think I found the answer from the the page's Real-time Logs after doing some tests. 1. All incoming requests from the advanced mode (_worker.js) count towards the quota. 2. The good news is that I can include and exclude routes by creating routing the file. After that, there won't be any static file or unexpected requests appearing in worker and Real-time Logs. Please correct me if I'm mistaken.
Cloudflare Docs
Routing | Cloudflare Pages docs
Functions utilize file-based routing. Your /functions directory structure determines the designated routes that your Functions will run on. You can create a /functions directory with as many levels as needed for your project's use case. Review the following directory:
Want results from more Discord servers?
Add your server