Sun Feb 10, 2019 9:27 am
It's a problem with chromium-browser 65.0.3325.181-0+rpt4 and fontconfig. Chromium is very slow to start after the clearing the cache to recover disk space if many fonts have been installed.
To reproduce :
- install josm (java open street map) which requires installation of a large number of fonts
- remove all directories under ~/.cache
- start chromium-browser
Chromium-browser takes about THREE MINUTES (!) to start because it is slow at regenerating ~/.cache/fontconfig
I clear the cache using bleachbit rather than by doing a manual deletion. My fix is to run bleachbit from a script which saves and restores~/.cache/fontconfig as follows :
#!/bin/bash
cp --preserve -r /home/pi/.cache/fontconfig /home/pi/
bleachbit
cp --preserve -r /home/pi/fontconfig /home/pi/.cache/
This was not a problem with chromium 60.0.3112.89-0ubuntu0.14.04.1.1010+1
firefox-esr does not have this issue at all.