Skip to content

pre-render all the docs pagesΒ #46

@NullVoxPopuli

Description

@NullVoxPopuli

because the whole site is basically interpreted markdown and json, pre-rendering will probably improve render performance.

problem solved via fastboot "globals" file

This is proving difficult, because Fastboot does not have graceful fallbacks, and hard-errors for:

  • AbortController
  • document
  • matchMedia
  • localStorage

some of these, I can excuse, because node does not have document, matchMedia, or localStorage -- but it's not a good first time experience, tbh πŸ™ƒ

AbortController should be supported tho... The docs' site fetches data with fetch + AbortController (the way you should)... so... I can't use fastboot or prember at this time.
Maybe I can look in to fastboot alternatives once embroider inverts the build tool.

https://twitter.com/brillout/status/1674342674038489088

Docs: https://vite-plugin-ssr.com/

WIP PR: #55

Apparently I need more test coverage, because post-deploy, this app doesn't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions