In 2020, are browserconfig.xml and ieconfig.xml now effectively deprecated?
It's been a month since I asked this, so I thought I'd rummage around the internet some more and see what I could come up with.
browserconfig.xml
According to this Microsoft Page:
- Browser configuration schema reference
This is an example of a browserconfig.xml
:
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square70x70logo src="small.png"/>
<square150x150logo src="medium.png"/>
<wide310x150logo src="wide.png"/>
<square310x310logo src="large.png"/>
<TileColor>#009900</TileColor>
</tile>
<badge>
<polling-uri src="badge.xml"/>
<frequency>30</frequency>
</badge>
<notification>
<polling-uri src="1.xml"/>
<polling-uri2 src="2.xml"/>
<polling-uri3 src="3.xml"/>
<polling-uri4 src="4.xml"/>
<polling-uri5 src="5.xml"/>
<frequency>30</frequency>
<cycle>1</cycle>
</notification>
</msapplication>
</browserconfig>
ieconfig.xml
According to this blog post:
- Tips For Implementing Device Assets
This is an example of an ieconfig.xml
:
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square70x70logo src="ms-tile-128x128.png"/>
<square150x150logo src="ms-tile-270x270.png"/>
<wide310x150logo src="ms-tile-558x270.png"/>
<square310x310logo src="ms-tile-558x558.png"/>
<TileColor>#6a9a22</TileColor>
</tile>
</msapplication>
</browserconfig>
That would seem to suggest that browserconfig.xml and ieconfig.xml are different names for the same thing... and there is some suggestion, though I can't confirm it, that the latter name, ieconfig.xml, is the current, correct name.
All that said, I still can't confirm if Edge Browser looks for, recognises or knows about ieconfig.xml so I can't answer the question and confirm if the latter is effectively deprecated or not.
2021 here,
Concerning deprecation
As long as there are people using agents that support this (i.e. mainly IE11), Browser configuration will remain semi-relevant, or at least usable. Microsoft announced IE11 will go EOL on August 17th this year, but we all know it will stick around here and there.
Concerning the filename/URL
The documentation that you referred to in your own answer, has the following code sample:
<meta name="msapplication-config" content="IEconfig.xml" />
I am assuming this is where the author of the blog article you also refer to got the name IEconfig.xml
from. However, the documentation then mentions:
Note: If a webpage does not specify a browser configuration file, IE11 automatically looks for "browserconfig.xml" in the root directory of the server. To prevent this, use an "msapplication-config" header with the content attribute to "none" (shown earlier).
So, it appears the only reason they used IEconfig.xml
in the example is that it’s not browserconfig.xml
(in which case you wouldn’t need that metadata to begin with). This reminds me of their infamous favicon.ico
, which you can also link to with markup, or just call the thing favicon.ico
and be done with it.
Concluding
I don’t see any negatives in supporting it (other than having to make the thing), and it might actually be useful to some users with agents that support it.
I would, however, strongly suggest always setting up a route for /browserconfig.xml
if you decide to do so. That way, agents that support it will supposedly discover it automatically (which I generally think is bad UA practice, but there you have it), and you won’t have to pollute your markup with proprietary metadata that doesn’t mean anything to any other system.
(There might also be a minuscule performance benefit to having one, depending on how many IE11 visitors you have, and the way your server handles 404s and logging, but that’s probably more theoretical than anything.)