spotify / spotify/SPTPersistentCache

Using Extended File Attributes to Store Cache Record's Header

Open
#64 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement question
Dominant language
Objective-C
Stars
1.2k
Forks
74
PR merge metrics
No merged PRs in 30d

Description

Did you consider using Extended File Attributes to store a cache record's header (SPTPersistentCacheRecordHeader struct) ? Looks like this approach should simplify the headers management a bit.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the SPTPersistentCacheRecordHeader struct and Apple's setxattr documentation linked in the issue. Determine whether extended file attributes can replace the current cache-record header management and establish what changes would be required before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
objective-c
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.