Plugin Directory

Changeset 2355287


Ignore:
Timestamp:
08/08/2020 04:48:44 PM (6 years ago)
Author:
imageengine
Message:

removed rtt hint because of cors/preflight issues

Location:
image-cdn/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • image-cdn/trunk/image-cdn.php

    r2318196 r2355287  
    77 * Author URI: https://imageengine.io/
    88 * License: GPLv2 or later
    9  * Version: 1.0.3
     9 * Version: 1.0.4
    1010 */
    1111
  • image-cdn/trunk/imageengine/class-imagecdn.php

    r2318196 r2355287  
    5353    public static function add_headers() {
    5454        // Add client hints.
    55         header( 'Accept-CH: viewport-width, width, device-memory, dpr, rtt, downlink, ect' );
     55        header( 'Accept-CH: viewport-width, width, device-memory, dpr, downlink, ect' );
    5656
    5757        // Add resource hints and feature policy.
     
    6161            $protocol = (is_ssl()) ? "https://" : "http://";
    6262        header( 'Link: <'.$protocol.$host.'>; rel=preconnect' );
    63         header( 'Feature-Policy: ch-viewport-width '.$protocol.$host.'; ch-width '.$protocol.$host.'; ch device-memory '.$protocol.$host.'; ch-dpr '.$protocol.$host.'; ch-rtt '.$protocol.$host.'; ch-downlink '.$protocol.$host.'; ch-ect '.$protocol.$host.';' );
     63        header( 'Feature-Policy: ch-viewport-width '.$protocol.$host.'; ch-width '.$protocol.$host.'; ch device-memory '.$protocol.$host.'; ch-dpr '.$protocol.$host.'; ch-downlink '.$protocol.$host.'; ch-ect '.$protocol.$host.';' );
    6464        }
    6565    }
     
    7171    public static function add_head_tags() {
    7272        // Add client hints.
    73         echo '    <meta http-equiv="Accept-CH" content="DPR, Viewport-Width, Width, Save-Data">' . "\n";
     73        echo '    <meta http-equiv="Accept-CH" content="DPR, Viewport-Width, Width">' . "\n";
    7474
    7575        // Add resource hints.
  • image-cdn/trunk/readme.txt

    r2351224 r2355287  
    103103= How do I obtain a free ImageEngine trial =
    104104
    105 To get started with ImageEngine you need to [sign up for an account](https://imageengine.io/signup?utm_source=wordpress.org&utm_medium=page&utm_term=wp-imageengine&utm_campaign=wp-imageengine). Then you'll be provided with a unique CDN hostname to use with this plugin. The trial is free for 60 days, and can be cancelled anytime. 
     105To get started with ImageEngine you need to [sign up for an account](https://imageengine.io/signup?utm_source=wordpress.org&utm_medium=page&utm_term=wp-imageengine&utm_campaign=wp-imageengine). Then you'll be provided with a unique CDN hostname to use with this plugin. The trial is free for 60 days, and can be cancelled anytime.
    106106
    107107== Upgrade Notice ==
     
    119119
    120120== Changelog ==
     121
     122= 1.0.4 =
     123* Removed rtt hint
    121124
    122125= 1.0.3 =
Note: See TracChangeset for help on using the changeset viewer.