Jump to Categories

.Cheatsheet

Save Data header

From this excellent article by Nooshu

GET /image.jpg HTTP/1.0
Host: example.com
Save-Data: on
if ("connection" in navigator) {
    if (navigator.connection.saveData === true) {
        document.documentElement.classList.add('save-data');
    }
}