Skip to content

Improve docs on Caching聽#966

Open
Open

Description

@shoooe

馃搵 Explain your issue

A common document page in other frameworks is caching. Since SolidJS just uses Nitro, caching can be easily implemented via the routeRules setting as described here: https://stackoverflow.com/q/79223996/493122

Would this be worth adding to the docs?

Activity

  1. added
    help wantedLooking for assistance on this issue
    and removed
    pending reviewAwaiting review by team members.
    on Dec 1, 2024
  2. brenelz commented on Dec 17, 2024

    @brenelz
    Collaborator

    Could maybe add a note here https://docs.solidjs.com/solid-start/reference/config/define-config, but I'm sure where the docs stand on nitro specific things when you could just look at things over there

  3. atilafassina commented on Dec 20, 2024

    @atilafassina
    Member

    Yeah, we try not to document Nitro directly (because it's a slippery slope, soon we end up documenting H3, Vite, etc...) - but I believe a note to that would be helpful.

    We could also add a Caching section to our Learn guide for start where we explain our deduplication system and how to leverage Nitro caching, and how to play with HTTP headers for Max-Age, SWR, etc on Server Functions (tapping into the request event and so on) - that would be super useful.

    suggested action items

    • Add a explicit note about caching on the "configuring Nitro" section
    • Create a section on how to handle cache within Server Functions in SolidStart / Guides / Caching
  4. changed the title [-][Other]: Caching[/-] [+]Improve docs on Caching[/+] on Dec 20, 2024
  5. added
    plannedFeatures or content that are planned but not yet in progress.
    solidstartRelated to SolidStart
    on Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedLooking for assistance on this issueplannedFeatures or content that are planned but not yet in progress.solidstartRelated to SolidStart

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions