Project

General

Profile

Feature #4022

Add an option to automatically clear the Inline Images cache folder on exit

Added by westor (GR) 4 months ago. Updated 4 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Interface
Target version:
Start date:
07/11/2018
Due date:
% Done:

0%

Estimated time:
Operative System:
All

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!

AdiIRC_2018-07-11_01-59-57.png (60.9 KB) AdiIRC_2018-07-11_01-59-57.png westor (GR), 07/11/2018 01:03 AM

History

#1

Updated by Per Amundsen 4 months ago

Instead lower your max cache size, you have it at 30gb at the moment, notice the "mb" at the end.

#2

Updated by westor (GR) 4 months ago

Yeah i knew that, but would be nice to have from default an option for clear cache.

#3

Updated by Per Amundsen 4 months 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.

#4

Updated by westor (GR) 4 months 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!

#5

Updated by westor (GR) 4 months 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-)) }
#6

Updated by Per Amundsen 4 months ago

  • Status changed from New to Rejected

Also available in: Atom PDF