Changeset 2175310
- Timestamp:
- 10/17/2019 09:18:41 PM (6 years ago)
- Location:
- cache-ultra
- Files:
-
- 12 edited
- 1 copied
-
tags/1.1.1 (copied) (copied from cache-ultra/trunk)
-
tags/1.1.1/README.md (modified) (2 diffs)
-
tags/1.1.1/index.php (modified) (2 diffs)
-
tags/1.1.1/src/Controllers/ResourceController.php (modified) (1 diff)
-
tags/1.1.1/src/Controllers/SnapshotController.php (modified) (1 diff)
-
tags/1.1.1/src/Services/Cache.php (modified) (3 diffs)
-
tags/1.1.1/src/Services/Resource.php (modified) (1 diff)
-
trunk/README.md (modified) (2 diffs)
-
trunk/index.php (modified) (2 diffs)
-
trunk/src/Controllers/ResourceController.php (modified) (1 diff)
-
trunk/src/Controllers/SnapshotController.php (modified) (1 diff)
-
trunk/src/Services/Cache.php (modified) (3 diffs)
-
trunk/src/Services/Resource.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cache-ultra/tags/1.1.1/README.md
r2175232 r2175310 8 8 Author: Limelight Department 9 9 Tested up to: 5.2.3 10 Stable tag: "1.1. 0"11 Version 1.1. 010 Stable tag: "1.1.1" 11 Version 1.1.1 12 12 License: GPLv2 or later 13 13 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 48 48 == Changelog == 49 49 50 1.1.1 51 - Changed how referrer header was being sent to cache cloud. 52 50 53 1.1.0 51 54 - 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 4 4 * Plugin URI: https://limelighttheme.com/cache-ultra/ 5 5 * Description: Cache Ultra Plugin for Wordpress 6 * Version: 1.1. 06 * Version: 1.1.1 7 7 * Author: Limelight Department 8 8 * Author URI: https://limelighttheme.com/ … … 17 17 define('CACHE_ULTRA_DIR', __DIR__); 18 18 19 define('CACHE_ULTRA_VERSION', '1.1. 0');19 define('CACHE_ULTRA_VERSION', '1.1.1'); 20 20 21 21 define('CACHE_ULTRA_MODE', 'prod'); -
cache-ultra/tags/1.1.1/src/Controllers/ResourceController.php
r2175232 r2175310 183 183 'post_id' => $post, 184 184 'url' => $permalink, 185 'referrer' => \get_site_url(),186 185 ]; 186 $headers = ['Referrer' => \get_site_url()]; 187 187 $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]); 189 189 return new \WP_REST_Response( [ 190 190 'success' => 1, -
cache-ultra/tags/1.1.1/src/Controllers/SnapshotController.php
r2175232 r2175310 259 259 'resources' => $resources, 260 260 'cache' => $cache, 261 'referrer' => \get_site_url(),262 261 ]; 262 $headers = ['Referrer' => \get_site_url()]; 263 263 $client = new \GuzzleHttp\Client(); 264 264 $remote_response = $client->post($this->url.'api/snapshot/process', [ 265 'headers' => $headers, 265 266 'form_params'=>$form_params, 266 267 'timeout' => 10, -
cache-ultra/tags/1.1.1/src/Services/Cache.php
r2175232 r2175310 39 39 'token' => $token, 40 40 'cache' => $cache, 41 'referrer' => \get_site_url(),42 41 ]; 43 try{ 42 $headers = ['Referrer' => \get_site_url()]; 43 try{ 44 44 $client = new \GuzzleHttp\Client(); 45 45 $remote_response = $client->post($this->url.'api/snapshot/performance', [ 46 'headers' => $headers, 46 47 'form_params'=>$form_params, 47 48 'timeout' => 10, … … 139 140 'resources' => $resources, 140 141 'cache' => $cache, 141 'referrer' => \get_site_url(),142 142 ]; 143 $headers = ['Referrer' => \get_site_url()]; 143 144 $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]); 145 146 return new \WP_REST_Response( [ 146 147 'success' => 1, … … 270 271 'resources' => $resources, 271 272 'cache' => $cache, 272 'referrer' => \get_site_url(),273 273 ]; 274 $headers = ['Referrer' => \get_site_url()]; 274 275 $client = new \GuzzleHttp\Client(); 275 276 $remote_response = $client->post($this->url.'api/snapshot/process', [ 277 'headers' => $headers, 276 278 'form_params'=>$form_params, 277 279 'timeout' => 10, -
cache-ultra/tags/1.1.1/src/Services/Resource.php
r2175232 r2175310 60 60 'post_id' => $post, 61 61 'url' => $permalink, 62 'referrer' => \get_site_url(),63 62 ]; 63 $headers = ['Referrer' => \get_site_url()]; 64 64 try{ 65 65 $client = new \GuzzleHttp\Client(); 66 66 $remote_response = $client->post($this->url.'api/snapshot/resourcemap', [ 67 'headers' => $headers, 67 68 'form_params'=>$form_params, 68 69 'timeout' => 10, -
cache-ultra/trunk/README.md
r2175232 r2175310 8 8 Author: Limelight Department 9 9 Tested up to: 5.2.3 10 Stable tag: "1.1. 0"11 Version 1.1. 010 Stable tag: "1.1.1" 11 Version 1.1.1 12 12 License: GPLv2 or later 13 13 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 48 48 == Changelog == 49 49 50 1.1.1 51 - Changed how referrer header was being sent to cache cloud. 52 50 53 1.1.0 51 54 - 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 4 4 * Plugin URI: https://limelighttheme.com/cache-ultra/ 5 5 * Description: Cache Ultra Plugin for Wordpress 6 * Version: 1.1. 06 * Version: 1.1.1 7 7 * Author: Limelight Department 8 8 * Author URI: https://limelighttheme.com/ … … 17 17 define('CACHE_ULTRA_DIR', __DIR__); 18 18 19 define('CACHE_ULTRA_VERSION', '1.1. 0');19 define('CACHE_ULTRA_VERSION', '1.1.1'); 20 20 21 21 define('CACHE_ULTRA_MODE', 'prod'); -
cache-ultra/trunk/src/Controllers/ResourceController.php
r2175232 r2175310 183 183 'post_id' => $post, 184 184 'url' => $permalink, 185 'referrer' => \get_site_url(),186 185 ]; 186 $headers = ['Referrer' => \get_site_url()]; 187 187 $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]); 189 189 return new \WP_REST_Response( [ 190 190 'success' => 1, -
cache-ultra/trunk/src/Controllers/SnapshotController.php
r2175232 r2175310 259 259 'resources' => $resources, 260 260 'cache' => $cache, 261 'referrer' => \get_site_url(),262 261 ]; 262 $headers = ['Referrer' => \get_site_url()]; 263 263 $client = new \GuzzleHttp\Client(); 264 264 $remote_response = $client->post($this->url.'api/snapshot/process', [ 265 'headers' => $headers, 265 266 'form_params'=>$form_params, 266 267 'timeout' => 10, -
cache-ultra/trunk/src/Services/Cache.php
r2175232 r2175310 39 39 'token' => $token, 40 40 'cache' => $cache, 41 'referrer' => \get_site_url(),42 41 ]; 43 try{ 42 $headers = ['Referrer' => \get_site_url()]; 43 try{ 44 44 $client = new \GuzzleHttp\Client(); 45 45 $remote_response = $client->post($this->url.'api/snapshot/performance', [ 46 'headers' => $headers, 46 47 'form_params'=>$form_params, 47 48 'timeout' => 10, … … 139 140 'resources' => $resources, 140 141 'cache' => $cache, 141 'referrer' => \get_site_url(),142 142 ]; 143 $headers = ['Referrer' => \get_site_url()]; 143 144 $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]); 145 146 return new \WP_REST_Response( [ 146 147 'success' => 1, … … 270 271 'resources' => $resources, 271 272 'cache' => $cache, 272 'referrer' => \get_site_url(),273 273 ]; 274 $headers = ['Referrer' => \get_site_url()]; 274 275 $client = new \GuzzleHttp\Client(); 275 276 $remote_response = $client->post($this->url.'api/snapshot/process', [ 277 'headers' => $headers, 276 278 'form_params'=>$form_params, 277 279 'timeout' => 10, -
cache-ultra/trunk/src/Services/Resource.php
r2175232 r2175310 60 60 'post_id' => $post, 61 61 'url' => $permalink, 62 'referrer' => \get_site_url(),63 62 ]; 63 $headers = ['Referrer' => \get_site_url()]; 64 64 try{ 65 65 $client = new \GuzzleHttp\Client(); 66 66 $remote_response = $client->post($this->url.'api/snapshot/resourcemap', [ 67 'headers' => $headers, 67 68 'form_params'=>$form_params, 68 69 'timeout' => 10,
Note: See TracChangeset
for help on using the changeset viewer.