about <match> value -- file /usr/share/mime/packages/freedesktop.org.xml

Thomas Kluyver thomas at kluyver.me.uk
Thu Jan 17 13:28:03 PST 2013

On 17 January 2013 20:37, westlake <westlake2012 at videotron.ca> wrote:

>   It is because of <match> values that there's a 2+ minute delay when
> listing filetypes(Nautilus/Dolphin, but not cli tools like mc and lynx) on
> an ssl+webdav mountpoint

I'm guessing that the delay occurs because the file manager is attempting
to open each file to check its contents for mimetype matches?

I'm inclined to say that that's an issue for the file managers, not the
MIME database. The database provides information about MIME types, but it's
up to the application how to use that. Specifically, they could:

- Detect that file operations are slow over ssl+webdav, and decide not to
examine the contents to find MIME types.
- Display the list first, and progressively update icons etc. as they
gather MIME type information.

I hope that helps,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xdg/attachments/20130117/42ca3381/attachment.html>

More information about the xdg mailing list