From ee326e809745a7ad72a76cc8a7e2f917c625a6b6 Mon Sep 17 00:00:00 2001 From: housseindjirdeh Date: Mon, 28 Jan 2019 10:53:29 -0800 Subject: [PATCH 1/2] removes data-compression article --- README.md | 2 +- data-compression.html | 126 ------------------------------------------ 2 files changed, 1 insertion(+), 127 deletions(-) delete mode 100644 data-compression.html diff --git a/README.md b/README.md index 4ee7a96..e7208cd 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ This is the source of the official [Chrome Multi-Device documentation](https://d 2. Open [http://localhost:8000/_preview.html](http://localhost:8000/_preview.html) 3. You will see the boilerplate with the index.html file already included 4. To preview another document, add a url paramater with the filename - * Something like: [http://localhost:8000/_preview.html?data-compression.html](http://localhost:8000/_preview.html?data-compression.html) + * Something like: [http://localhost:8000/_preview.html?data-compression-for-isps.html](http://localhost:8000/_preview.html?data-compression-for-isps.html) * Or: [http://localhost:8888/_preview.html?webview/gettingstarted.html](http://localhost:8888/_preview.html?webview/gettingstarted.html) * Things mostly work but is not exactly the same as viewing through DCC. diff --git a/data-compression.html b/data-compression.html deleted file mode 100644 index 475a138..0000000 --- a/data-compression.html +++ /dev/null @@ -1,126 +0,0 @@ -{{+bindTo:partials.standard_multidevice_article}} - -

Data Saver

- -

Get faster, safer, and cheaper web browsing with data compression.

- -
-

Reduce data usage

- -

-Chrome for Android can significantly reduce cellular data usage by using proxy servers hosted at Google to optimize website content. This feature has been shown to reduce the size of web pages by 60%. To enable it, visit Settings > Data Saver and toggle the option. -

- -

-Data Saver is also available as an extension for Chrome desktop and ChromeOS. Get the Data Saver extension here. -

- -

-Network administrators, carriers, and ISPs should consult this accompanying article for technical details on the Data Saver proxy. This paper published at NSDI 2015 provides more technical details on the Data Saver proxy. -

- -
- -
-

Features and implementation

- -

-The core optimizations that allow us to reduce overall data usage are performed by Google servers. When Data Saver is enabled, Chrome opens a connection between your phone and one of the optimization servers running in Google's datacenters and relays all non-encrypted HTTP requests over this connection. -

- -
How data compression proxy works
- -

-The proxy server receives the request initiated on your device, initiates a request for the required resource on your behalf, and then optimizes each response before delivering it back to the client. The content optimization is performed by our open-source PageSpeed libraries, which are specifically tuned for Chrome. The rendering of the page, and all JavaScript execution, is performed by the client’s browser. -

- -

For your security and privacy:

- - - -

-Curious to see the bandwidth savings provided by the proxy? Visit your browser settings to see a graph of the original data size vs. the optimized version that your browser received. The bandwidth savings add up quickly! -

- -
Bandwidth usage
- -

-Let’s take a closer look at some of the specific optimizations enabled by the data compression proxy. -

- -

HTTP/2 for speed

- -

-Where possible the connection from the browser to the proxy runs over HTTP/2. If an HTTP/2 connection cannot be made, a regular HTTP/1.1 proxy connection is established. -

- -
HTTP/2 to http-https
- -

-By using HTTP/2, the proxy is able to multiplex multiple request and response streams in parallel over a single TCP connection, which has numerous performance benefits: it amortizes TCP handshake overhead for multiple requests, enables higher throughput by removing the TCP slow-start phase incurred by each new connection, and enables intelligent request and response prioritization between the streams. -

- -

-Further, there are many additional benefits to using the compression proxy: -

- - - -

Content optimization

- -

-Unfortunately, many web-sites are not optimized for the mobile web, which results in inefficient content delivery and slow rendering times. However, our experience with PageSpeed shows that many content optimizations can, in fact, be automated, which is precisely what the data compression proxy does on your behalf! -

- -

-Transcoding images: -Over 60% of the transferred bytes, for an average page, are images. Hence, the proxy takes great care to optimize and transcode all images to the WebP format, which requires fewer bytes than other popular formats, such as JPEG and PNG. The proxy supports the new -WebP lossless format for certain images, and also optimizes the perceptual quality of each image based on device screen resolution and pixel density of your device. By combining all these features the resulting images are up to 80% smaller! -

- -

-Content-aware compression: -The proxy performs intelligent compression and minification of HTML, JavaScript and CSS resources, which removes unnecessary whitespace, comments, and other metadata which is not essential to the rendering of the page. These optimizations, combined with mandatory gzip compression for all resources, can yield substantial bandwidth savings for the client. -

- -

-Safer, more secure browsing: -The proxy implements Safe Browsing for Chrome Mobile, by informing the browser when you attempt to visit a known malware or phishing site. This causes a warning page to be displayed, which you can click through if you wish to visit the site. The list of harmful sites is continuously updated on the proxy. -

- -

Building a faster mobile web

- -

-This is just the beginning of what a powerful proxy service can provide to make the mobile web experience more efficient and enjoyable, regardless of whether you are on a latest 4G connection, or using an older generation mobile network. We are continuously improving the service and experimenting with new optimizations — stay tuned for more. -

- -
- - -
-

Frequently asked questions

- - - -
- -{{/partials.standard_multidevice_article}} From a938015a90dd0aaf9ca3a70d72445d6268028b4c Mon Sep 17 00:00:00 2001 From: housseindjirdeh Date: Mon, 28 Jan 2019 10:53:47 -0800 Subject: [PATCH 2/2] updates copy in data compresion for isps article --- data-compression-for-isps.html | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/data-compression-for-isps.html b/data-compression-for-isps.html index 662505b..9a5eda6 100644 --- a/data-compression-for-isps.html +++ b/data-compression-for-isps.html @@ -14,22 +14,26 @@ users and URLs.

Proxy Connection

-Enabling the Data Saver feature -in Chrome establishes a connection between the browser and Google's -servers to proxy HTTP requests. HTTPS requests and pages loaded in -Incognito tabs are not proxied. +Enabling the +Data Saver +feature in Chrome establishes a connection between the browser and Google's +servers to proxy HTTP requests. Pages loaded in +Incognito tabs are never proxied or optimized. In the vast majority of cases, +HTTPS traffic is not affected by Data Saver. On extremely slow page loads, Chrome +will redirect to a Google-hosted domain which serves a transcoded version of the +page to save data and load faster. This is only used on very slow page loads, or +when the page might fail to load at all.

-When possible, the proxy connection is encrypted using SSL, and uses the -HTTP/2 protocol to optimize data transfers. In certain cases, as described +When possible, the proxy connection is encrypted using SSL. In certain cases, as described below, the proxy connection may use unencrypted HTTP/1.1.

Google's proxy servers perform various optimizations on the Web page -content, with the goal of reducing bandwidth usage. The DCP transcodes -images to the WebP format, reduces image quality, compresses and minifies +content, with the goal of reducing bandwidth usage and improving performance. The DCP +transcodes images to the WebP format, reduces image quality, compresses and minifies Javascript and CSS resources, and applies gzip and other transport-level compression.