# How do I clear the plugin cache?

**URL:** <https://forums.plex.tv/t/how-do-i-clear-the-plugin-cache/1074>\
**Category:** Dev/API Corner\
**Tags:** plugin-dev\
**Created:** [February 28, 2009, 10:41am UTC](https://forums.plex.tv/t/how-do-i-clear-the-plugin-cache/1074 "2009-02-28T10:41:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcoppc](https://avatars.discourse-cdn.com/v4/letter/m/6de8d8/32.png) [@marcoppc](https://forums.plex.tv/u/marcoppc)\
**Post date:** [February 28, 2009, 10:41am UTC](https://forums.plex.tv/t/how-do-i-clear-the-plugin-cache/1074/1 "2009-02-28T10:41:14Z")

</div>

When I modify the art-default or icon-default the changes are not shown. How do I clear everything that is cached for my plugin?

---

<div class="post-metadata">

**Author:** ![cbarnes](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/cbarnes/32/336_2.png) [@cbarnes](https://forums.plex.tv/u/cbarnes)\
**Post date:** [February 28, 2009, 4:08pm UTC](https://forums.plex.tv/t/how-do-i-clear-the-plugin-cache/1074/2 "2009-02-28T16:08:37Z")

</div>

> [@](#):
>
> When I modify the art-default or icon-default the changes are not shown. How do I clear everything that is cached for my plugin?

  
  
I'd like to know how to do this too.

---

<div class="post-metadata">

**Author:** ![jam](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jam/32/186050_2.png) [@jam](https://forums.plex.tv/u/jam)\
**Post date:** [February 28, 2009, 4:34pm UTC](https://forums.plex.tv/t/how-do-i-clear-the-plugin-cache/1074/3 "2009-02-28T16:34:50Z")

</div>

The images are being cached by Plex, not PMS or the plug-in framework. They’re stored in “~/Library/Application Support/Plex/userdata/Thumbnails”. This is the same folder that stores thumbnails & fanart for movies & TV shows.  
  
  
  
The best option is to rename the Thumbnails folder to something else while you’re developing. Plex will create a new one next time it starts. You can then safely delete the folder every time you want to clear the cache, and when you’re done working on your plug-in you can change the name of the old Thumbnails folder back & your downloaded media artwork will be there again.

---

<div class="post-metadata">

**Author:** ![DJF3](https://avatars.discourse-cdn.com/v4/letter/d/ba8739/32.png) [@DJF3](https://forums.plex.tv/u/DJF3)\
**Post date:** [January 9, 2010, 11:15pm UTC](https://forums.plex.tv/t/how-do-i-clear-the-plugin-cache/1074/4 "2010-01-09T23:15:06Z")

</div>

Wow, that’s annoying when you’re updating a plugin that’s running on your ‘production’ system!  
  
  
  
Is there a way to keep your movie fan-art and only get rid of application (like video plugin) cache?

---

<div class="post-metadata">

**Author:** ![jam](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jam/32/186050_2.png) [@jam](https://forums.plex.tv/u/jam)\
**Post date:** [January 10, 2010, 12:43am UTC](https://forums.plex.tv/t/how-do-i-clear-the-plugin-cache/1074/5 "2010-01-10T00:43:05Z")

</div>

> [@](#):
>
> Wow, that's annoying when you're updating a plugin that's running on your 'production' system!  
>   
> Is there a way to keep your movie fan-art and only get rid of application (like video plugin) cache?

  
Yes - unsurprisingly, this has been changed since I made that post last February ;) All cached plug-in images are now stored in a "PlexMediaServer" folder under the Thumbnails folder.

---

<div class="post-metadata">

**Author:** ![DJF3](https://avatars.discourse-cdn.com/v4/letter/d/ba8739/32.png) [@DJF3](https://forums.plex.tv/u/DJF3)\
**Post date:** [January 10, 2010, 10:30pm UTC](https://forums.plex.tv/t/how-do-i-clear-the-plugin-cache/1074/6 "2010-01-10T22:30:39Z")

</div>

Good news, I will try it!  
  
  
  
DJ

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 8:36pm UTC](https://forums.plex.tv/t/how-do-i-clear-the-plugin-cache/1074/7 "2019-12-20T20:36:35Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
