An implementation of xdg menu spec with caches to speed up loading