Setting fo clearing cache

Why is there not a setting for clearing cache? Instructing us to delete Plex system libraries after backing up the cache libraries to avoid possible corruption of my Plex server is a terrible solution.

As a Plex user, I do not want to delete any Plex system libraries period. Especially when there is a possibility of corrupting my server.

Am I the first user to request this function as setting option?

Thank You for any assistance you are able to provide.

Mfun

What are you talking about?

Thank you for getting back to me.

I’ve been through all my Plex settings, and I cannot find a setting marked “clear cache”. If you can direct me to the specific setting, I would greatly appreciate it.

The only thing I could find is an article describing how to manually delete Plex system directories containing cache directories.

Maybe, I should have started my original post asking where the setting for clearing Plex cache is.

Thank you.

Can you please tell me which app or client your trying to clear cache and for what reason?

Thank you SE56 for getting back to me.

I am talking about the Plex Media Server App.

Mfun

Why do you want to clear the cache? The pms cache is saved in the cache folder. This is not the same as a memory cache like on your phone.

What kind of cache are you talking about?
What do you hope to achieve with this?
What is the actual issue that you are trying to resolve?
Where did you get the idea about some cache to be cleared in Plex in the first place?

Because the cache grows uncontrolled and at some point it will take way too much space. And in some situations the cache is actually slow because it was designed with very old paradigms that might not make sense anymore, putting thousands of files in the same directory/folder can be very bad for performance. For example, in my old server deleting the cache made browsing snappier.

Please provide a link to the article.

Scheduled Tasks

Settings > Scheduled Tasks > Remove old cache files every week

Thank you

:+1:t3: great explanation on why cache should be cleared frequently. Especially when you have a lot of movies files or music files being played on your Plex media server.

Thanks

Mfun

Hi OttoKerner,

Thanks for getting back to me. I read a couple of articles where the Plex cache had grown substantially and was taking a lot of space.

Mfunsten

Here is the link to the article you requested.

https://support.plex.tv/articles/202967376-clearing-plugin-channel-agent-http-caches/

Mfunsten

This is obsolete. It only refers to the old, legacy agents which are no longer used by default and will soon be removed from PMS for good.

IIRC the DBRepair Tool from ChuckPa is able to remove some PhotoTranscoder cache files (commands 21 - 'prune' and other temporary files from PMS 22 - 'purge').
I ran them a couple of weeks ago and my PMS is still standing. :wink:

I just checked again in my two servers and I think that something was changed recently in the cache handling. In former time, and for many years, the cache grew uncontrolled reaching obnoxious sizes, so I would go to my server every few months and delete the cache completely, I’ve been doing this for years. But now the cache in both my servers have a reasonable size (around 3GB), on top of that, the folders inside the cache have now reasonable amount of files (around 200 something each, instead of several thousands like before). So, it seems this cache issue is something of the past. Maybe you should recheck yours.

Hi Hovoche,

Yes, OttoKerner said the article I referred to is obsolete and Plex caching has changed.

I was running Plex on an old MacBook Pro (2012) and I only had an internal 500 gb hard drive which was getting filled with cache files. I wanted to prevent this from happening on my new QNAP TS- 464 and Mac Studio..

There is now a scheduled task setting in Plex that cleans up cache.

Mfunsten

I think @OttoKerner was talking about Plug-Ins cache, not the main (Transcoder) cache. But yes, probably the scheduled task is what is fixing the old issue now.