Project

General

Profile

Actions

Feature #4022

closed

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

Added by westor (GR) over 6 years ago. Updated over 6 years 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!


Files

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
Actions #1

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.

Actions #2

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.

Actions #3

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.

Actions #4

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!

Actions #5

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-)) }
Actions #6

Updated by Per Amundsen over 6 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF