Skip to content

Commit

Permalink
Add Save-Data (web-platform-dx#2181)
Browse files Browse the repository at this point in the history
* Add Save-Data

* Update features/savedata.yml

Co-authored-by: Daniel D. Beck <daniel@ddbeck.com>

---------

Co-authored-by: Daniel D. Beck <daniel@ddbeck.com>
  • Loading branch information
Elchi3 and ddbeck authored Nov 7, 2024
1 parent ca01280 commit ab65b20
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
7 changes: 0 additions & 7 deletions features/draft/spec/savedata.yml

This file was deleted.

6 changes: 6 additions & 0 deletions features/savedata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: Save-Data
description: Browsers send the `Save-Data` HTTP request header when the user turns on a data-saving mode. It is a hint to reduce data sent to the browser. Servers should respond with alternative content, such as smaller images and videos, or different markup and styling.
spec: https://wicg.github.io/savedata/
compat_features:
- api.NetworkInformation.saveData
- http.headers.Save-Data
File renamed without changes.

0 comments on commit ab65b20

Please sign in to comment.