Basic question about converting an API to CF Functions

Hi everyone, I’m new here. I’m looking to convert an Express app for use with CF Functions. The CF pricing page docs talk for Serverless (https://www.cloudflare.com/en-gb/plans/developer-platform/) mentions “scripts” (e.g. up to 100 of them on a free account). But I can’t find a reference to this term in the docs themselves. Could anyone define what a script means in this context? I’m assuming my app in its entirety would not constitute one “script”, and that a script is therefore a particular endpoint of that app? Am I right with that?

Many thanks in advance!

I believe this was answered in the Discord server.

For anyone who finds this in the future. The 100 scripts is strictly for workers as is not relevant to pages or functions. Pages and Functions support unlimited endpoints and will automatically bundle them into one script.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.