Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Cloudflare Pages _routes.json specification (#6441) #6530

Merged
merged 4 commits into from Sep 21, 2022

Commits on Sep 8, 2022

  1. feat: Cloudflare Pages _routes.json specification (sveltejs#6441)

    When a SvelteKit project is deployed to Cloudflare Pages, the server-side code is supported through Pages Functions (currently in beta). Unfortunately, by using Functions, each request must go through the server-side Functions code even if it doesn't need to. For instance, an immutable asset request to https://kit.svelte.dev/_app/immutable/assets/_layout-ab34ca4f.css would first have to route through Functions.
    
    This is problematic since the request would "count" as a request to Functions even though only a static asset was served. Further, there is a slight amount of added latency.
    
    This change exposes a set of includes and excludes based on static files generated.
    jrf0110 committed Sep 8, 2022
    Copy the full SHA
    36638b3 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2022

  1. Copy the full SHA
    4d9420a View commit details
    Browse the repository at this point in the history
  2. code style stuff

    Rich-Harris committed Sep 21, 2022
    Copy the full SHA
    cc179bc View commit details
    Browse the repository at this point in the history
  3. tweak changeset

    Rich-Harris committed Sep 21, 2022
    Copy the full SHA
    9cc96c3 View commit details
    Browse the repository at this point in the history