Lower number of requests to SvelteKit app on CF pages

I have a SvelteKit app that I'm deploying using CF pages (or workes? still confusing). However requests to build artifacts (/_app/*) still get counted towards the requests usage quota. Is there a way to lower that? The app is pretty simple: * Static pages (homepage, contact us, etc) * SPA pages (the app, hidden behind a login mask so no need for SSR) * Dynamic routes (my customer's clients go to these eg /vendor/[name] and they are dynamic). Ideally it would be nice if the dynamic route gets generated and just statically served afterwards (kind of like ISR), the SPA pages should, ideally, only make requests to a CDN, and the static page should also make a request to a static page. Only the API endpoints actually have a reason to hit the worker itself. How can I configure this?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server