Just wondering for edge runtime if we have dynamic routes (`/blog/[slug]`) is it possible say to tur

Just wondering for edge runtime if we have dynamic routes (
/blog/[slug]
) is it possible say to turn a certain page into static e.g.
/blog/1
would it still count towards a function call? According to https://developers.cloudflare.com/pages/configuration/serving-pages/#route-matching "If an HTML file is found with a matching path to the current route requested, Pages will serve it. Pages will also redirect HTML pages to their extension-less counterparts: for instance, /contact.html will be redirected to /contact, and /about/index.html will be redirected to /about/."

Does this apply to static sites only or everything? My reason for doing this way is I have more than 20,000 pages (I'm forced to use edge runtime instead of static export) I plan to make the popular pages static so in theory it will reduce calling a worker functions. Would I have to also include these pages in
routes.json
?
Was this page helpful?