oktechjp / oktechjp/oktech.jp

Use efficient cache lifetimes

Open Beginner friendly
#116 1 comment 0 reactions 0 assignees View on GitHub

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.

REF: https://developer.chrome.com/docs/performance/insights/cache?utm_source=lighthouse&utm_medium=devtools

Image

Contributor guide

No contributing guide indexed for this repository

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.