Double caching?
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
- go
- Domain
- backend, performance
Research direction
Start at the r.Options.String() handling and trace how the image proxy constructs cache keys for the URL and the URL with the #options suffix. Confirm why the 0x0 case produces both entries, then establish the intended caching behavior and cover it with a regression test; no file or test path is named in the issue.
Written by the indexing model from the issue text.
Description
When there is no any option (r.Options.String() = 0x0) it leads to double caching (no fragment cached image ({remote_url}) and fragment cached image ({remote_url}#options).
Ofc, I can fix it just by adding extra check `r.Options.String() == "0x0", but I have some questions:
- why it works like that?
- is there any problem to disable caching for 0x0 version of image?
- Dominant language
- Go
- Stars
- 4k
- Forks
- 513
- PR merge metrics
- No merged PRs in 30d
Contributor guide
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.
More from willnorris/imageproxy
-
Difficulty 2/5 1-2 days Newbie friendliness 42/100
willnorris/imageproxy#488 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
willnorris/imageproxy#487 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
willnorris/imageproxy#471 · 1 comment · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
willnorris/imageproxy#435 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
willnorris/imageproxy#433 · 2 comments ·
All issues in willnorris/imageproxy
Similar issues
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
blinklabs-io/bursa#904 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
yanet-platform/ipfw-go#129 ·
-
bug confmap/provider/googlesecretmanagerprovider needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
open-telemetry/opentelemetry-collector-contrib#51273 · 2 comments ·
-
bug: AI Gateway client filter lists "Unknown" twice when NULL and literal Unknown clients coexist Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100