Skip to content

Change the default cache path #67

Description

@rastersize

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"];

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions