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

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

"preload" plugin was installed with command:

sudo apt-get install preload

After installing I checked if its function with command:

sudo cat /var/lib/preload/preload.state

Sorry if it's a dumb question.

  • Installed Prelaod plugin .. installed into what, installed how. Please update your question with detailed informations. – Soren A Jun 20 '18 at 9:43
  • @Soren A updated my question, thank for advice. – Harardin Jun 20 '18 at 13:47
  • As per my answer below you probably want to use cat /usr/share/gopreload/enabled instead. – WinEunuuchs2Unix Jun 20 '18 at 22:59

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:

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.