怎么禁用缓存,服务器内存一直在涨,设置了maxAge和buffer也没用,想问一下怎么设置
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- node.js, typescript
- Domain
- backend
Research direction
No source file or test is named. Reproduce the memory growth with egg-static 2.3.1 on Node 20.10.0 and egg 3.17.5 using the shown maxAge, buffer, and maxFiles settings, then inspect the plugin's caching behavior; done means the cause is identified and disabling or limiting the cache has the documented effect.
Written by the indexing model from the issue text.
Description
egg-static 配置:
config.static = {
maxAge: 0,
buffer: false,
maxFiles: 5,
};
node版本:20.10.0
egg版本:3.17.5
egg-static版本:2.3.1
在静态资源多次访问后,内存并没有被释放,尝试禁用缓存或者减少缓存的文件数量,但是不起作用,想问问大佬该怎么处理
- Dominant language
- TypeScript
- Stars
- 89
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
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.
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·