How to clear, change or move the Spotify cache - gHacks Tech News

How to clear, change or move the Spotify cache

Spotify is a popular music streaming service that is available as a free and premium service for most operating systems. The service uses a cache on the host system which can fill up rather quickly, depending on how actively the service is being used.

While that may not be an issue for most users, it may be for some, as the service uses up to 10% of the free disk space of the primary hard drive for caching. It can grow quite large because of that. If you have 20 Gigabytes of free space, the cache may take up to 2 Gigabyte, if you have 200 Gigabytes free, it may take up to 20 Gigabytes and so on.

If you have noticed that disk space has gone down after you have started to use Spotify, you may want to either modify the caching preferences of the service to reduce the amount of disk space reserved for the service, or clear the disk cache regularly to free it up.

Note: The Spotify cache stores all offline tracks. If you use the feature, you may want to avoid clearing it completely.

Change the Spotify cache size

spotify cache

To change the size of the cache do the following:

  1. Open the Spotify client on your system. This example uses the Windows client.
  2. Click on Edit > Preferences or use the Ctrl-P shortcut to open the program options.
  3. Scroll all the way down until you find the cache entry here.

You have two options when it comes to the size of the cache. You can set it dynamically to a maximum of 10% of the free disk space, or select a fixed maximum size for it instead. To do so, switch to the "use at most" option and use the slider to set a fixed max cache size. This size can be between 1 and 100 Gigabytes.

A 1 Gigabyte cache can store about 200 songs. If it runs out of space, the least played songs will be automatically removed and replaced with new tracks.

Move the Spotify cache

You can use the same menu for that. All you have to do is click on the browse button and select a different location for the cache.

This can be useful if your main hard drive or partition is running out of space. Just move the cache to another drive and you are all set.

Note that the existing cache will be moved to the new location automatically so that you do not lose access to any offline tracks.

Clear the Spotify cache

Deleting the cache to free up disk space is another thing that you may want to consider, especially if you do not save songs for offline listening.

All you have to do is clear the contents of the Spotify "Storage" folder. The default location on Windows Vista or newer is C:\Users\Martin\AppData\Local\Spotify\Storage\

You can look up the location in the caching preferences. Just delete all files and folders inside storage.

Please note that you need to close Spotify to clear all cached files and folders.





  • We need your help

    Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

    We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.

    If you like our content, and would like to help, please consider making a contribution:

    Comments

    1. JohnP said on September 17, 2013 at 11:49 pm
      Reply

      Since play.spotify.com went live, I uninstalled that atrocious piece of a software.

    2. Martin Brinkmann said on September 18, 2013 at 8:44 pm
      Reply

      I usually do prefer software, but the Spotify client is not really the most shining example of a player done right.

    3. Dave said on April 1, 2015 at 12:44 am
      Reply

      With the current release this options has been removed

      1. PhilBoogie said on June 21, 2015 at 6:53 am
        Reply

        Indeed, though one can simply create an alias to the new location. First quit Spotify, obviously.

    Leave a Reply