Plugin Directory

Changeset 2175310


Ignore:
Timestamp:
10/17/2019 09:18:41 PM (6 years ago)
Author:
limelightdept
Message:

tagging version 1.1.1

Location:
cache-ultra
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • cache-ultra/tags/1.1.1/README.md

    r2175232 r2175310  
    88Author: Limelight Department
    99Tested up to: 5.2.3
    10 Stable tag: "1.1.0"
    11 Version 1.1.0
     10Stable tag: "1.1.1"
     11Version 1.1.1
    1212License: GPLv2 or later
    1313License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4848== Changelog ==
    4949
     501.1.1
     51- Changed how referrer header was being sent to cache cloud.
     52
    50531.1.0
    5154- Fixed a couple of issues with the performance scoring. Added the ability to modify custom cache's by what the url contains rather than an exact match.
  • cache-ultra/tags/1.1.1/index.php

    r2175232 r2175310  
    44 * Plugin URI:        https://limelighttheme.com/cache-ultra/
    55 * Description:       Cache Ultra Plugin for Wordpress
    6  * Version:           1.1.0
     6 * Version:           1.1.1
    77 * Author:            Limelight Department
    88 * Author URI:        https://limelighttheme.com/
     
    1717define('CACHE_ULTRA_DIR', __DIR__);
    1818
    19 define('CACHE_ULTRA_VERSION', '1.1.0');
     19define('CACHE_ULTRA_VERSION', '1.1.1');
    2020
    2121define('CACHE_ULTRA_MODE', 'prod');
  • cache-ultra/tags/1.1.1/src/Controllers/ResourceController.php

    r2175232 r2175310  
    183183            'post_id' => $post,
    184184            'url' => $permalink,
    185             'referrer' => \get_site_url(),
    186185        ];
     186        $headers = ['Referrer' => \get_site_url()];
    187187        $client = new \GuzzleHttp\Client();
    188         $remote_response = $client->post($this->url.'api/snapshot/resourcemap',  ['form_params'=>$form_params]);
     188        $remote_response = $client->post($this->url.'api/snapshot/resourcemap',  ['headers'=>$headers,'form_params'=>$form_params]);
    189189        return new \WP_REST_Response( [
    190190            'success' => 1,
  • cache-ultra/tags/1.1.1/src/Controllers/SnapshotController.php

    r2175232 r2175310  
    259259                    'resources' => $resources,
    260260                    'cache' => $cache,
    261                     'referrer' => \get_site_url(),
    262261                ];
     262                $headers = ['Referrer' => \get_site_url()];
    263263                $client = new \GuzzleHttp\Client();
    264264                $remote_response = $client->post($this->url.'api/snapshot/process',  [
     265                    'headers' => $headers,
    265266                    'form_params'=>$form_params,
    266267                    'timeout' => 10,
  • cache-ultra/tags/1.1.1/src/Services/Cache.php

    r2175232 r2175310  
    3939            'token' => $token,
    4040            'cache' => $cache,
    41             'referrer' => \get_site_url(),
    4241        ];
    43         try{
     42        $headers = ['Referrer' => \get_site_url()];
     43        try{
    4444            $client = new \GuzzleHttp\Client();
    4545            $remote_response = $client->post($this->url.'api/snapshot/performance',  [
     46                'headers' => $headers,
    4647                'form_params'=>$form_params,
    4748                'timeout' => 10,
     
    139140            'resources' => $resources,
    140141            'cache' => $cache,
    141             'referrer' => \get_site_url(),
    142142        ];
     143        $headers = ['Referrer' => \get_site_url()];
    143144        $client = new \GuzzleHttp\Client();
    144         $remote_response = $client->post($this->url.'api/snapshot/process',  ['form_params'=>$form_params]);
     145        $remote_response = $client->post($this->url.'api/snapshot/process',  ['headers'=>$headers,'form_params'=>$form_params]);
    145146        return new \WP_REST_Response( [
    146147            'success' => 1,
     
    270271                'resources' => $resources,
    271272                'cache' => $cache,
    272                 'referrer' => \get_site_url(),
    273273            ];
     274            $headers = ['Referrer' => \get_site_url()];
    274275            $client = new \GuzzleHttp\Client();
    275276            $remote_response = $client->post($this->url.'api/snapshot/process',  [
     277                'headers' => $headers,
    276278                'form_params'=>$form_params,
    277279                'timeout' => 10,
  • cache-ultra/tags/1.1.1/src/Services/Resource.php

    r2175232 r2175310  
    6060            'post_id' => $post,
    6161            'url' => $permalink,
    62             'referrer' => \get_site_url(),
    6362        ];
     63        $headers = ['Referrer' => \get_site_url()];
    6464        try{
    6565            $client = new \GuzzleHttp\Client();
    6666            $remote_response = $client->post($this->url.'api/snapshot/resourcemap',  [
     67                'headers' => $headers,
    6768                'form_params'=>$form_params,
    6869                'timeout' => 10,
  • cache-ultra/trunk/README.md

    r2175232 r2175310  
    88Author: Limelight Department
    99Tested up to: 5.2.3
    10 Stable tag: "1.1.0"
    11 Version 1.1.0
     10Stable tag: "1.1.1"
     11Version 1.1.1
    1212License: GPLv2 or later
    1313License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4848== Changelog ==
    4949
     501.1.1
     51- Changed how referrer header was being sent to cache cloud.
     52
    50531.1.0
    5154- Fixed a couple of issues with the performance scoring. Added the ability to modify custom cache's by what the url contains rather than an exact match.
  • cache-ultra/trunk/index.php

    r2175232 r2175310  
    44 * Plugin URI:        https://limelighttheme.com/cache-ultra/
    55 * Description:       Cache Ultra Plugin for Wordpress
    6  * Version:           1.1.0
     6 * Version:           1.1.1
    77 * Author:            Limelight Department
    88 * Author URI:        https://limelighttheme.com/
     
    1717define('CACHE_ULTRA_DIR', __DIR__);
    1818
    19 define('CACHE_ULTRA_VERSION', '1.1.0');
     19define('CACHE_ULTRA_VERSION', '1.1.1');
    2020
    2121define('CACHE_ULTRA_MODE', 'prod');
  • cache-ultra/trunk/src/Controllers/ResourceController.php

    r2175232 r2175310  
    183183            'post_id' => $post,
    184184            'url' => $permalink,
    185             'referrer' => \get_site_url(),
    186185        ];
     186        $headers = ['Referrer' => \get_site_url()];
    187187        $client = new \GuzzleHttp\Client();
    188         $remote_response = $client->post($this->url.'api/snapshot/resourcemap',  ['form_params'=>$form_params]);
     188        $remote_response = $client->post($this->url.'api/snapshot/resourcemap',  ['headers'=>$headers,'form_params'=>$form_params]);
    189189        return new \WP_REST_Response( [
    190190            'success' => 1,
  • cache-ultra/trunk/src/Controllers/SnapshotController.php

    r2175232 r2175310  
    259259                    'resources' => $resources,
    260260                    'cache' => $cache,
    261                     'referrer' => \get_site_url(),
    262261                ];
     262                $headers = ['Referrer' => \get_site_url()];
    263263                $client = new \GuzzleHttp\Client();
    264264                $remote_response = $client->post($this->url.'api/snapshot/process',  [
     265                    'headers' => $headers,
    265266                    'form_params'=>$form_params,
    266267                    'timeout' => 10,
  • cache-ultra/trunk/src/Services/Cache.php

    r2175232 r2175310  
    3939            'token' => $token,
    4040            'cache' => $cache,
    41             'referrer' => \get_site_url(),
    4241        ];
    43         try{
     42        $headers = ['Referrer' => \get_site_url()];
     43        try{
    4444            $client = new \GuzzleHttp\Client();
    4545            $remote_response = $client->post($this->url.'api/snapshot/performance',  [
     46                'headers' => $headers,
    4647                'form_params'=>$form_params,
    4748                'timeout' => 10,
     
    139140            'resources' => $resources,
    140141            'cache' => $cache,
    141             'referrer' => \get_site_url(),
    142142        ];
     143        $headers = ['Referrer' => \get_site_url()];
    143144        $client = new \GuzzleHttp\Client();
    144         $remote_response = $client->post($this->url.'api/snapshot/process',  ['form_params'=>$form_params]);
     145        $remote_response = $client->post($this->url.'api/snapshot/process',  ['headers'=>$headers,'form_params'=>$form_params]);
    145146        return new \WP_REST_Response( [
    146147            'success' => 1,
     
    270271                'resources' => $resources,
    271272                'cache' => $cache,
    272                 'referrer' => \get_site_url(),
    273273            ];
     274            $headers = ['Referrer' => \get_site_url()];
    274275            $client = new \GuzzleHttp\Client();
    275276            $remote_response = $client->post($this->url.'api/snapshot/process',  [
     277                'headers' => $headers,
    276278                'form_params'=>$form_params,
    277279                'timeout' => 10,
  • cache-ultra/trunk/src/Services/Resource.php

    r2175232 r2175310  
    6060            'post_id' => $post,
    6161            'url' => $permalink,
    62             'referrer' => \get_site_url(),
    6362        ];
     63        $headers = ['Referrer' => \get_site_url()];
    6464        try{
    6565            $client = new \GuzzleHttp\Client();
    6666            $remote_response = $client->post($this->url.'api/snapshot/resourcemap',  [
     67                'headers' => $headers,
    6768                'form_params'=>$form_params,
    6869                'timeout' => 10,
Note: See TracChangeset for help on using the changeset viewer.