alibaba / alibaba/nginx-http-concat
自动加版本号
- Dominant language
- C
- Stars
- 863
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
*\* If a third ? is present it's treated as version string. **
如果每个js第一行以特殊注释来标注自己内容的md5 hash,如 /_md5hash=cc5227f18bed7bf3635116ee02ab32fd_/, nginx-http-concat能不能自动提取这行信息出来,附加到uri第三个问号后面,作为版本号? 多个文件就以多个文件的md5 hash字符相连作为版本号。
这个特殊注释可以在预处理,压缩文件时附加上去。
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the module code that handles concatenated JavaScript/CSS requests and the existing third-query version-string behavior. Check how requested file contents are read and whether first-line MD5 comments can be extracted; done means concatenating the hashes from all requested files and appending the result after the third question mark.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, nginx
- Domain
- backend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100