Feature #4022
closedAdd an option to automatically clear the Inline Images cache folder on exit
0%
Description
Hello,
I wanna request an checkbox option under Options -> Inline Images that when it will be enabled then AdiIRC will clear all the cache folder items on exiting that are related on that feature.
After 3 days of usage it seems that 65MB of cache have been saved.
Example Image:
- Thanks!
Files
Updated by Per Amundsen over 6 years ago
Instead lower your max cache size, you have it at 30gb at the moment, notice the "mb" at the end.
Updated by westor (GR) over 6 years ago
Yeah i knew that, but would be nice to have from default an option for clear cache.
Updated by Per Amundsen over 6 years ago
A cleanup thread runs in the background and makes sure the cache never exceeds the size set in options, deleting the older files first, this option shouldn't be necessary.
Updated by westor (GR) over 6 years ago
Aha ok, i didn't knew that a thread was running in the background for that purpose, ok i will decrease then the cache size, thanks!
Updated by westor (GR) over 6 years ago
Just to mention for anyone else who search something similar, i used that code in order to clean on exit:
ON *:EXIT: { noop $findfile($adiircdircache\preview,*,0,.remove $qt($1-)) }