koajs / koajs/static-cache

ue[bug] When 'options.buffer' is false and 'options.usePrecompiledGzip'is true ,The static file is not used. This is used to dynamically generate compressed files

Open
#100 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
291
Forks
48
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/43692243/162909628-c1cdac97-a4ef-45fe-bd51-dac034db2c8f.png)
期望在图片位置加上静态.gz文件的调用

Contributor guide

Open the contributing guide

Research direction

Start by tracing static-file handling for `options.buffer` and `options.usePrecompiledGzip`; the issue's screenshot indicates where use of a static `.gz` file is expected. Reproduce the combination of `buffer: false` and `usePrecompiledGzip: true`, then verify that an available precompressed file is used instead of being generated dynamically.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.