If you have been a regular user of Spotify (on desktop), you should know that it caches your playlist in the local hard disk so it can quickly playback the songs without having to stream from their server again. However, if you are running low on hard disk space, you might want to clear the cache to make way for more important documents. The Spotify desktop client doesn’t come with a way to clear the cache. Here is how you can clear Spotify cache in Windows, Mac and Linux.
Open Windows Explorer and paste the following line to the folder address bar:
Replace “USERNAME” with your Windows login username. Note that this folder is hidden by default, so you have to use the direct link to reach the cache folder. (Alternatively, you can go into the Settings and turn on “Show Hidden Files, Folders and Drives.”)
Delete all the files in this folder.
Open a terminal and type:
Replace “USERNAME” with your login username.
Open a terminal and type the following:
Note: The above methods only work if you didn’t change the destination of the cache folder. If you have changed the cache location, you have to make amendment to the filepath to reflect the new location that you have set.
Once you have cleared the cache, the next time you run Spotify, it will re-cache the songs to your system. You might want to go to the “Preferences -> Cache” section to change the maximum cache size that it can use.