Use efficient cache lifetimes
Open
Beginner friendly
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 6
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Right now static assets are set to be cached by browser for only 10 minutes. We should change to 1 year. It will improve performance for repeat visitors. It can be defined in netlify.toml config in root.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open netlify.toml in the repository root and locate the static-asset browser cache setting, currently set to 10 minutes. Change the lifetime to one year and verify that the configuration reflects the requested cache duration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devops, performance, web-dev
- Issue type
- Feature
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100