WP Rocket - Best WordPress Caching Plugin

WP Rocket - Best WordPress Caching Plugin v3.18.3

No permission to download

Rubixvi

Well-known member
Trusted Uploader
For anyone who wants to get rid of that API Query use this file.

No worries.

Essentially yes, removing that API query error for those who have it showing, which in my case I do, speeds up your backend, as it won't cause the query to run and slow your site since the returned result errors out.
 

Attachments

  • wp-rocket.zip
    3.1 MB · Views: 69
  • Like
Reactions: CodeKeeper

CodeKeeper

Active member
Dec 14, 2019
165
81
28
For anyone who wants to get rid of that API Query use this file.

No worries.

Essentially yes, removing that API query error for those who have it showing, which in my case I do, speeds up your backend, as it won't cause the query to run and slow your site since the returned result errors out.
Since new version comes out we may not get this fix on each one! So, is it possible for you to provide any function to use resolve this issue permanently?
 

predkos

Active member
May 2, 2022
136
98
28
🇺🇦
Since new version comes out we may not get this fix on each one! So, is it possible for you to provide any function to use resolve this issue permanently?
Code:
// Add http requests to block
add_filter('pre_http_request', function ($thisStatus, $requestParams, $ThisUrl) {
  if (strpos($ThisUrl, '//wp-rocket.me')) $thisStatus = null;
  elseif (strpos($ThisUrl, '//rocketcdn.me')) $thisStatus = null;
  return $thisStatus;
}, PHP_INT_MAX, 3);
 

dgpalych

Active member
Banned User
Nov 1, 2020
461
239
43
Code:
// Add http requests to block
add_filter('pre_http_request', function ($thisStatus, $requestParams, $ThisUrl) {
  if (strpos($ThisUrl, '//wp-rocket.me')) $thisStatus = null;
  elseif (strpos($ThisUrl, '//rocketcdn.me')) $thisStatus = null;
  return $thisStatus;
}, PHP_INT_MAX, 3);
Can I be more specific?
Where should I add this code?
Will the functions of other plugins be blocked?
 

BiznesMarket

Member
Jun 1, 2019
38
19
8
[КОД]// Добавляем http-запросы для блокировки
add_filter('pre_http_request', функция ($thisStatus, $requestParams, $ThisUrl) {
если (strpos($ThisUrl, '//wp-rocket.me')) $thisStatus = null;
elseif (strpos($ThisUrl, '//rocketcdn.me')) $thisStatus = null;
вернуть $thisStatus;
}, PHP_INT_MAX, 3);[/CODE]
but it doesn't solve the problem with excluding unused css?
 
  • Like
Reactions: JamesWP

CyberDeviL

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

the_truth

Well-known member
Babiato Lover
Null Master
Trusted Uploader
Mar 22, 2021
471
308
63
FINAL VERSION v3.1.4 RELEASED JUST LAST HOUR ;) FASTEST UPDATE . . .

My website is on Litespeed server and i have activated Litespeed Cache for now.

What do u suggest?

Uninstall Litespeed cache plugin and install and activate WProcket or maintain Litespeed cache?
 

ariel

Active member
Jul 23, 2020
102
33
28
Nothing to see here!
Thanks for the update (y)

We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance.

The version before worked well.
 
  • Like
Reactions: Groot

Groot

Well-known member
Jun 17, 2020
412
415
63
Thanks for the update (y)

We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance.

The version before worked well.
Maybe we need more fixes on new nulled version.
 

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