Avoid making backend requests for resources that obviously are not text/html
Open
- Dominant language
- Python
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Currently the server downloads the file just to figure out its mime type. Simply examining the file extension should work in most cases.
Contributor guide
No contributing guide indexed for this repository
Research direction
Inspect the proxy request path and the code that determines a resource's MIME type. Start by tracing where the server downloads a file before deciding whether it is text/html. Done means obvious non-HTML extensions avoid the backend request while text/html handling remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100