3

I am a new user for Ubuntu, recently I installed Preload for better performance, and then I got interested how can I clean its cache.

Is there any command to do it, I didn't find any in the internet.

"preload" was installed with command:

sudo apt install preload

After installing, I checked if its function with command:

sudo cat /var/lib/preload/preload.state
Pablo Bianchi
  • 15,657

1 Answers1

2

From a FOSS article:

What is Preload?

Preload is a daemon application and runs in the background. Preload analyzes the user behavior and tracks what applications are run frequently by the user. Based on these analysis, it predicts what application the user might run next and fetches those binaries and their dependencies into memory and hence increases the startup time of the application.


You can't really clear the cache

You can't really clear the cache but you can disable specific programs from preload. As per this Arch Linux article:

To disable the loading of a program, remove the appropriate list in /usr/share/gopreload/enabled or move it to /usr/share/gopreload/disabled.

You should read the whole article!


Also of interest to you:

  • 1
    the gopreload\enabled and gopreload\disabled are for an entirely different program (gopreload)! You should read the whole article! For preload, check the exeprefix and mapprefix lines in /etc/preload.conf – Kurtoid Oct 01 '20 at 20:21