• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

WP Rocket - Best WordPress Caching Plugin

WP Rocket - Best WordPress Caching Plugin v3.15.10

No permission to download
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 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...
 
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:
 

Attachments

  • Image 004.png
    Image 004.png
    54.6 KB · Views: 95
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
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
@Babak 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
@Babak 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
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock