Change the default cache path
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- objective-c
- Domain
- mobile
Research direction
Open Sources/SPTPersistentCacheOptions.m at line 51 and inspect how the default cache path is assembled. Update the default location to the proposed generic path when the project is ready for the version 2.0 breaking release; done means the default path no longer uses the old cache-specific component.
Written by the indexing model from the issue text.
Description
We should change the default cache location the next time we release a breaking update. I think the earliest we can do that is with version 2.0 (which is a far ways off, not even planned).
Currently the path used is the temporary directory appended with a path component that is very specific.
[NSTemporaryDirectory() stringByAppendingPathComponent:@"/com.spotify.temppersistent.image.cache"];
(SPTPersistentCacheOptions.m#L51)
It would be better to set it to a more generically named path, such as:
[NSTemporaryDirectory() stringByAppendingPathComponent:@"/com.spotify.persistentcache.default"];
- Dominant language
- Objective-C
- Stars
- 1.2k
- Forks
- 74
- 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 spotify/SPTPersistentCache
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
spotify/SPTPersistentCache#125 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
spotify/SPTPersistentCache#105 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
spotify/SPTPersistentCache#102 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
spotify/SPTPersistentCache#99 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in spotify/SPTPersistentCache
Similar issues
-
clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster P2
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openclaw/openclaw-facetime#40 · 2 comments · 1 reaction ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
noah-nuebling/mac-mouse-fix#2054 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
obsproject/obs-studio#13918 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
SwiftOldDriver/iOS-Weekly#5439 · 1 comment ·