PaperMC / PaperMC/docs

cache html responses

Open
#736 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
MDX
Stars
73
Forks
280
Avg merge
20h 52m
Merged PRs (30d)
4

Description

right now we have a cache rate of 0% at cf for content pages because they set a cache control max age of 0
we should set it to something sensible, like at least an hour.
I didnt find anything on how to do this with starlight, which is pretty embarrassing, maybe we need to do it at CF

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by tracing the Starlight and Cloudflare configuration that sets Cache-Control for content pages, then identify where the max-age is assigned. Done means content pages advertise a cache lifetime of at least one hour and the resulting Cloudflare cache behavior can be verified.

Written by the indexing model from the issue text.

Assessment

Domain
cloud, documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.