WP Rocket - Best WordPress Caching Plugin

WP Rocket - Best WordPress Caching Plugin v3.18.3

No permission to download

fcknmars

Member
Sep 12, 2019
43
12
8
Trouble in last versions. Cache purge not workin with delay in settings.

The server hung up hard, I do not have time to cache all the pages, and there are more than 2000 of them
Clear cache any hour.


Change method get_interval() in file
wp-rocket/inc/Engine/Cache/PurgeExpired/PurgeExpiredCache.php

missing * interval in return;



Code:
/**

* Gets the interval when the scheduled clean cache purge needs to run.

* If Minutes option is selected, then the interval will be set to minutes.

* If Hours / Days options are selected, then it will be set to 1 hour.

*

* @since 3.4.3

*

* @return int $interval Interval time in seconds.

*/

private function get_interval() {

$unit = $this->options->get( 'purge_cron_unit' );

$lifespan = $this->options->get( 'purge_cron_interval', 10 );

$interval = HOUR_IN_SECONDS;



if ( ! $unit || ! defined( $unit ) ) {

$unit = 'HOUR_IN_SECONDS';

}

if ( 'MINUTE_IN_SECONDS' === $unit ) {

$interval = $lifespan * MINUTE_IN_SECONDS;

}

return $lifespan * $interval ;

}
 
  • Like
Reactions: mudasir

CyberDeviL

Back to Life 🧬
Trusted Uploader
Aug 10, 2018
2,795
10,824
113
Earth
CyberDeviL updated WP Rocket - Best #1 Cache Plugin For WordPress with a new update entry:

WP Rocket v3.10.1

WP Rocket v3.10.1 Changelog:
  • Enhancement: Add additional exclusions for minify JS, combine JS, defer JS
  • 3rd party compatibility: Improve compatibility with Divi 4.10
  • 3rd party compatibility: Improve compatibility with Uncode 2.5
  • Bugfix: Stop our background processes when updating or rolling back to avoid errors
  • Bugfix: Update documentation link related to WooCommerce in our settings page
  • Bugfix: Prevent errors with delay JS execution when parsing big HTML...

Read the rest of this update entry...
 

mudasir

Active member
Sep 29, 2019
127
58
28
Has anyone experience on how to conquer BuddyBoss Theme+Platform site with WP Rocket until get Grade A in GTMetrix?

Please share your findings :rolleyes:
 

urlankazanuuu

New member
May 14, 2022
0
0
0

Attachments

  • Image 004.png
    Image 004.png
    54.6 KB · Views: 95

ElyGER

New member
May 25, 2022
0
0
0
There are some issues with the wp rocket and kadence theme, the search button on the header is not working on all my sites. I tried clearing cache but nothing worked except deactivating wp rocket.

anyways thanks for the update.
 
  • Like
Reactions: captainnarwal

juliobravo

New member
Jun 14, 2022
0
0
0
There are some issues with the wp rocket and kadence theme, the search button on the header is not working on all my sites. I tried clearing cache but nothing worked except deactivating wp rocket.

anyways thanks for the update.
Disable option optimise css, your site will work perfectly after this. and if you have visitors on your site use bunny cdn to server static contents.
 
  • Like
Reactions: Joseph Seed

tejas2003

New member
Jun 14, 2022
0
0
1
@Tomz wp-rocket 3.10.2 (GPL license)
  • Enhancement: Update our delay JS execution script to fix a bug with events being triggered twice and to load JS files when the page is loaded in a hidden browser tab
  • Enhancement: Update the lazyload script to the latest version
  • Enhancement: Add filter rocket_rucss_safelist to filter the Remove Unused CSS safelist value
  • Bugfix: Prevent removing style tags inserted with inline JS when Remove Unused CSS is enabled
  • Bugfix: Prevent useless call to wp_clear_scheduled_hook() when Remove Unused CSS is disabled
  • Bugfix: Prevent console error in some cases when lazyload is enabled
  • 3rd party compatibility: Improve compatibility with Avada and delay JS on WC product pages
  • 3rd party compatibility: Improve compatibility with Wordfence and our background processes
  • 3rd party compatibility: No longer exclude WP Retina 2x images from lazyload
 

Attachments

  • wp-rocket.3.10.2.zip
    3.4 MB · Views: 80

cyanmonkey

New member
Aug 6, 2019
11
12
3
@Tomz wp-rocket 3.10.2 (GPL license)
  • Enhancement: Update our delay JS execution script to fix a bug with events being triggered twice and to load JS files when the page is loaded in a hidden browser tab
  • Enhancement: Update the lazyload script to the latest version
  • Enhancement: Add filter rocket_rucss_safelist to filter the Remove Unused CSS safelist value
  • Bugfix: Prevent removing style tags inserted with inline JS when Remove Unused CSS is enabled
  • Bugfix: Prevent useless call to wp_clear_scheduled_hook() when Remove Unused CSS is disabled
  • Bugfix: Prevent console error in some cases when lazyload is enabled
  • 3rd party compatibility: Improve compatibility with Avada and delay JS on WC product pages
  • 3rd party compatibility: Improve compatibility with Wordfence and our background processes
  • 3rd party compatibility: No longer exclude WP Retina 2x images from lazyload
Seem to be clean. Tested with VirusTotal Scanner. +1
 

CyberDeviL

Back to Life 🧬
Trusted Uploader
Aug 10, 2018
2,795
10,824
113
Earth

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu