mobile - Is there a HTTP Request header that indicates that browser wants a low-bandwidth or low-power version of the webpage? -


Recently, I was solving the problem of disabling a background video if the user was not only on the mobile device The solution was very much, but they were not even the right solution. Rather than checking that the device was a mobile, I wanted to actually want to know if the device likes low-bandwidth, low battery usage version of the page.

It seems that this is a recurring problem: Do not send retina pictures for low-resolution phones, do not show HD video on low-bandwidth connections, do not use highly detailed textures while playing games . Also, even for the same device, these preferences change over time - say when there is a Wi-Fi connection in mobile and it can handle more bandwidth or mobile plug-in, so that one WebGL-based game.

So, I think the browser should indicate such preferences to the server with each request. The browser has the best information at all times. Trusting on user-agent detection seems unfair because it remains in both the above cases - when the type of connection or power situation changes.

Is there a web standard, possibly a request header, which indicates browser preferences as above? Is there a plan to develop such a standard?

, as well as a heap of information on this topic

Your questions Short answer: No But for more context, you can try in many ways.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -