This bug is the second half of bug 2804. The patch below makes xdgmime use binary cache files in preference to the text files. If there are no binary caches, we fall back to the old behaviour.
Created attachment 2211 [details] [review] the patch
Created attachment 2280 [details] [review] new patch The only difference to the first patch is that we now explicitly check the mime.cache file for updates.
Created attachment 2284 [details] [review] a complete patch
Thanks, committed.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.