#500 menu-cache doesn't delete old files

closed-wont-fix
PCMan
menu-cache (31)
5
2012-11-08
2012-06-03
No

menu-cache doesn't delete old cache files from ~/.cache/menus. Over time, they consume more and more space. Is this behavior really intended?

Discussion

  • Mélodie

    Mélodie - 2012-06-26

    Hi,

    I confirm. I use Openbox standalone environments with the program openbox-menu which relies on libmenu-cache to pipe menus from the desktop files and keep the Applications menu up to date. And I regularly find several files in the $HOME/.cache/menus directory, instead of having always the last one generated.

    I hope this helps.

    Best regards,
    Mélodie

     
  • Lonely Stranger

    Lonely Stranger - 2012-11-08

    Those files you experience aren't 'old' ones but rather other caches because:
    - if you choose another language you may get another menu names;
    - if you choose another desktop environment you may get another menu items;
    - if you choose alternate XDG home or configuration directories (that can be done via environment variables) you may get another menu items.
    So menu-cache gets each once requested combination cached and for fast menu loading (which will be implemented in libmenu-cache 0.4.0) those caches better to stay alive.
    Thank you very much.

     
  • Lonely Stranger

    Lonely Stranger - 2012-11-08
    • status: open --> closed-wont-fix
     

Log in to post a comment.