Changeset 2531479
- Timestamp:
- 05/14/2021 01:29:10 AM (5 years ago)
- Location:
- wp-roids/trunk
- Files:
-
- 3 edited
-
CHANGELOG.md (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
wp-roids.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-roids/trunk/CHANGELOG.md
r2531472 r2531479 1 = v4.0.2 = 2 3 - **Fixed:** Caching already cached files is not clever :/ 4 1 5 = v4.0.1 = 2 6 -
wp-roids/trunk/readme.txt
r2531472 r2531479 3 3 Contributors: philmeadows 4 4 Donate link: https://philmeadows.com/donate-paypal 5 Tags: cache,performance,pagespeed,optimize 5 Tags: cache,performance,pagespeed,optimize,caching 6 6 Requires at least: 4.2 7 7 Tested up to: 5.7.2 8 8 Requires PHP: 5.6.0 9 Stable tag: 4.0. 19 Stable tag: 4.0.2 10 10 License: GPLv3 or later 11 11 License URI: https://www.gnu.org/licenses/gpl-3.0-standalone.html 12 12 13 The fastest cach eplugin for WordPress. FASTER than WP Super Cache, W3 Total Cache, WP Fastest Cache and many more...13 The fastest caching plugin for WordPress. FASTER than WP Super Cache, W3 Total Cache, WP Fastest Cache and many more... 14 14 15 15 == Description == … … 288 288 289 289 == Changelog == 290 291 = v4.0.2 = 292 293 - **Fixed:** Caching already cached files is not clever :/ 290 294 291 295 = v4.0.1 = -
wp-roids/trunk/wp-roids.php
r2531472 r2531479 3 3 Plugin Name: WP Roids 4 4 Description: The fastest caching plugin for WordPress! 5 Version: 4.0. 15 Version: 4.0.2 6 6 Author: Philip K. Meadows 7 7 Author URI: https://philmeadows.com … … 310 310 register_deactivation_hook( __FILE__, array( $this, 'deactivate' ) ); 311 311 312 $ignorePattern = "~(/wp-admin/|/wp-json/|/ xmlrpc.php|/wp-(app|cron|login|register|mail).php|wp-.*.php|/feed/|favicon.ico|index.php|wp-comments-popup.php|wp-links-opml.php|wp-locations.php|sitemap(_index)?.xml|[a-z0-9_-]+-sitemap([0-9]+)?.xml)~";312 $ignorePattern = "~(/wp-admin/|/wp-json/|/wp-roids-cache/|/xmlrpc.php|/wp-(app|cron|login|register|mail).php|wp-.*.php|/feed/|favicon.ico|index.php|wp-comments-popup.php|wp-links-opml.php|wp-locations.php|sitemap(_index)?.xml|[a-z0-9_-]+-sitemap([0-9]+)?.xml)~"; 313 313 $ignoreCheck = boolval( intval( preg_match( $ignorePattern, $this->uri ) ) ); 314 314 if( $this->debug === TRUE ) $this->writeLog( 'Call to `' . $this->uri . '` $ignoreCheck said: ' . strtoupper( var_export( $ignoreCheck, TRUE ) ) ); … … 323 323 add_filter( 'script_loader_src', array( $this, 'removeScriptVersion' ), 15, 1 ); 324 324 add_filter( 'style_loader_src', array( $this, 'removeScriptVersion' ), 15, 1 ); 325 add_action( 'wp_enqueue_scripts', array( $this, 'doAllAssets' ) /*, PHP_INT_MAX - 2*/);326 add_action( 'wp_head', array( $this, 'cacheThisView') /*, PHP_INT_MAX - 1*/);327 add_action( 'wp', array( $this, 'htaccessFallback') /*, PHP_INT_MAX*/);325 add_action( 'wp_enqueue_scripts', array( $this, 'doAllAssets' ), PHP_INT_MAX - 2 ); 326 add_action( 'wp_head', array( $this, 'cacheThisView'), PHP_INT_MAX - 1 ); 327 add_action( 'wp', array( $this, 'htaccessFallback'), PHP_INT_MAX ); 328 328 add_action( 'wp_footer', array( $this, 'creditLink') ); 329 329 }
Note: See TracChangeset
for help on using the changeset viewer.