Set maximum Flash cache size for Chrome/Chromium/YandexBrowser (Pepper Data\Shockware Flash)

0

Cleaning up the disk, I found out that the folder c:\Users\<username>\AppData\Local\Yandex\YandexBrowser\User Data\Default\Pepper Data\Shockwave Flash has grown to 22 GB (!) over time.

(Yandex Browser is Chromium-based and according to my research, the folder structure in Chromium and Chrome in this case is the same.)

According to https://mybroadband.co.za/vb/showthread.php/530504-Chrome-was-using-4-5-GB-storage-on-my-machine-without-cleaning-it-up , I can safely delete everything in it.

But that's not good enough for me. I wish to set the cache size limit on it so that this never happens again.1


1(Nor do I wish to resort to workarounds like creating a scheduled task to clean it unless there are no other options. From my experience, there should be: every browser-like program worth speaking of that uses a cache of potentially unlimited size provides some way to set a limit.)

ivan_pozdeev

Posted 2017-10-14T22:15:39.487

Reputation: 1 468

Answers

0

The answer lies in the Flash Player Administration Guide.

According to it, one can create a settings file mms.cfg in the Pepper Data\Shockwave Flash\System directory (the System directory didn't exist in my case so I created it). With the following contents:

AssetCacheSize = <max cache size in MB>

(the default is 0, meaning unlimited).

ivan_pozdeev

Posted 2017-10-14T22:15:39.487

Reputation: 1 468