Hi,
I am Developing?Easy Form Builder plugin?and encountered some challenges with page caching. To address these issues, we use the following function to handle page caching with our plugins:
public function cache_cleaner_Efb($page_id,$plugins){
$page_id = intval($page_id);
$cache_plugins = json_decode($plugins);
foreach($cache_plugins as $plugin){
switch($plugin->slug){
case 'litespeed-cache':
if (defined('LSCWP_V') || defined('LSCWP_BASENAME' )) do_action( 'litespeed_purge_post', $page_id );
break;
case 'wp-rocket':
if (function_exists('rocket_clean_post')) $r = rocket_clean_post($page_id);
break;
.
.
.
}
}
}
However, we’re seeking a more integrated solution. Specifically, we’re looking for a structure or method similar to what other plugins use to manage caching effectively.
Thank you in advance for your help and insights!
Best regards
]]>Hello, WP Performance Score Booster Support Team,
I’m developing a performance improving plugin and have a specific caching requirement.
I need pages and posts not to be cached on first open, after they are created or edited.
I need to examine the page with all the JS and CSS implemented, then edit the HTML before it can be cached. So, the page should be cached on the second visit.
Is there a built-in feature or specific hook in WP Performance Score Booster that supports this functionality, and can be controlled through PHP?
I am considering a custom implementation using WordPress hooks. Here’s a brief overview of my approach:
// Function to update a custom field when a post or page is saved
function update_last_modified_meta($post_id) {
update_post_meta($post_id, '_last_modified_time', current_time('mysql'));
}
add_action('save_post', 'update_last_modified_meta');
// Function to control caching based on the last modified time
function custom_per_page_cache_control() {
if (is_single() || is_page()) {
global $post;
$stored_last_modified = get_post_meta($post->ID, '_last_modified_time', true);
if ($post->post_modified !== $stored_last_modified) {
// Send headers to prevent caching
header("Cache-Control: no-cache, must-revalidate, max-age=0");
header("Pragma: no-cache");
header("Expires: Wed, 11 Jan 1984 05:00:00 GMT");
update_post_meta($post->ID, '_last_modified_time', $post->post_modified);
}
}
}
add_action('template_redirect', 'custom_per_page_cache_control');
Is this approach is compatible with your plugin? Is there a solution specific to your plugin?
Any recommendations or best practices for implementing this would be greatly appreciated.
Thank you,
Jovan
]]>Will this module receive further updates?
]]>I read about this plugin in a quite extensive blog post on how to improve google pagespeed scores on a page using Divi so I gave it a try. However, pagespeed keeps complaining about the exact same things as before. See the report: https://pagespeed.web.dev/report?url=https%3A%2F%2Fcodelearn.cat%2F&form_factor=desktop
Any suggestion?
Thanks!
]]>Hello, I’ve this settings only:
? Remove query strings from static content
? Enable GZIP compression (compress text, html, javascript, css, xml and so on)
? Leverage Browser Caching (expires headers, for better cache control)
? Page Preload (preload a page right before a user clicks on a link)
When I go to ‘Optimize More!’ I get this message:
Oops! Something went wrong.
Is it normal?
]]>Hello,
I have gzip enabled, but still gtmetrix is reporting to enable gzip.
https://gtmetrix.com/reports/skuteczneczytaniepisanie.com/TOwsZuZU/
Hi,
After installing DIVI 4.9.7,
Impossible to use the theme-builder or Divi-Builder : dead pages (under Safari)
Under Chrome : Bad display of the Site’s Logo.
Thank you
Olivier
]]>Is this compatible with wp rocket + Cloudflare + LiteSpeed server?
Will it still give me some performance score improvement. If I use it? I don’t have a staging area so I can’t test it and get the answer myself, unfortunately.
]]>Hi!
first thing, very good work! awesome plugin!
I was wondering, on my theme users login in a popup form (not a page), where they enter their credentials and click login button
Wwith the preload page setting active on plugin options, i have problems with the user’s login
is there a way to exclude the preload on the button “login” or “register” from the popup?
i’ve already read here in this support forum that a feature is already in the roadmap, but this will allow to exclude only certain urls. In my case, will this work?
thank you!
]]>I’ve had to disable this due to a contact with WP Google Maps. They have been working on it, but in spite of the latest update (which says it’s fixed) it is still not working. Is there any way to prevent this?
The error is: wp-google-maps.min.js:1 Uncaught SyntaxError: Identifier ‘i’ has already been declared
at wp-google-maps.min.js:1
(index):388 Uncaught SyntaxError: Identifier ‘d’ has already been declared
at (index):388
Hello,
I installed wp performance score booster and after installation front end users in order to login have to enter credentials twice.
I solved the problem by removing the check from “page preload” option and now all works.
I was wondering if there was a way to fix the problem in order to reactivate the “page preload” option?
]]>I recently updated WordPress to version 5.6 on the website above. It uses the Divi theme with a visual builder function.
Since the update I have had to deactivate the wp-performance-score-booster plugin to stop a timeout error on the Divi builder. i.e. I edit the content with the visual builder but cannot use it with the plugin activated.
The plugin was recommended by Divi support to enhance load performance but that was before this very recent problem.
Any plans to check this out and fix the problem? Because at the moment I can’t use the plugin.
Thanks
Brian
]]>I would love to use them both. But Float Menu disappears when I enable this plugin.
]]>Woocommerce Single Product Images not displaying after update to 2.0.
I rolled back to previous version and I can now see my images.
The plugin will not delete. I get a message–>
Deletion failed: There has been a critical error on your website.Learn more about debugging in WordPress.
I’ve tried multiple times – I’ve tried activating and deactivating. Nothing seems to work. This is the only plugin I have not been able to delete.
]]>Hello
How i can Enable GZIP compression?
Hi,
We are using Wp-rocket with ASTRA theme my google page speed insights page rank in mobile is very very low.
How to improve my score?
Thanks
I have used WP Performance Booster for a year or so. I am also using Autoptimize with its plug in extension Async JavaScript. Am I replicating functions here or do all three plug ins work OK together? Sorry I am not a coder so running a bit blind.
]]>Good Morning from Lockdown Maui Hawaii
Covid has hit us in Hawaii pretty friggen hard & unfortunately all work in the next couple of moths has been canceled. Obviously hard times for all of us in the wedding buisiness.
Since all I have right now is my website, getting it to high perform is my number one goal. Doing this on a budget has become the only waay to get it done, but unfortunately I can not figure out a few bugs that keep coming up.
https://gtmetrix.com/reports/tadcraigphotography.com/aehzBeeT
If you look at my GT Metrix I’m doing pretty good with A’s & not too many requests. My page size could be smaller BUT the biggest problem is LOAD TIME
I am using Autopitmize APP & it seems to help but there is some obvious major slow loading elements on my site. Any thoughts on how to fix this major problem would be so appreciated.
Mahalo Tad
]]>My theme have set of optimization settings. Is it ok if I install your plugin on the same website ? Do you have some options to avoid conflicts with theme optimization functionality ?
]]>Hi
I noticed recently that the panels for the module settings would not open in Divi builder. After some troubleshooting I discovered that if I deactivated WP Performance Score Booster that they worked again.
If you can investigate or, spot the issue quickly, much appreciated. Otherwise I can deactivate the plugin when I need to edit with Divi.
]]>Hi Guys,
Can you exclude a specific script within your plugin? or exclude the Authorize.net javascript please?
This is currently conflicting with the Authorize.net plugin for WooCommerce and has to be deactivated until further notice.
Thanks.
]]>Hello Dipak
I am reporting a problem between WP Performance Score Booster v1.9.2.2 and the Divi Theme Visual Builder v3.22.1.
Issues arise when editing a webpage using the Divi Visual Builder, and the ‘Remove query strings from static content’ feature is enabled. The webpage contains text ‘Min Height: auto’ and ‘Width: auto’ within the Section, Row and Module areas of the Visual Builder screen. The Visual Builder screen also jumps making the editing process difficult.
I have undertaken my own investigations and found that the WPPSB function wppsb_remove_query_strings_q is removing the ‘ver=’ parm from the query strings to Javascript code in ../wp-includes/js/dist/vendor/. This activity occurs when the webpage is being edited, and can be recorded in WP_DEBUG by placing ‘error_log( print_r( $src, true ) );’ within the function.
As proof, when I comment out the line ‘$src = remove_query_arg( ‘ver’, $src );’ then the Divi problem does not occur.
Could you please investigate and resolve this problem to ensure both Divi and WPPSB work correctly.
Many Thanks,
Peter Young.
Hi after installing new cz version of WP I wanted isntall this booster. After activation I can not open my web page baubiologie.cz and elektrosmogmereni.cz.
So I have to change some files via ftp. But I dont know what.
THank you for help.
David
This is there:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
]]>Scores from GTmetrix. I’m receiving an F (0) – Enable Gzip Compression and I show it turned on and there’s the following code in the htaccess.
## BEGIN GZIP Compression ##
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/x-httpd-php
AddOutputFilterByType DEFLATE application/x-httpd-fastphp
AddOutputFilterByType DEFLATE image/svg+xml
SetOutputFilter DEFLATE
</IfModule>
## END GZIP Compression ##
And I’m receiving a E (56) for leverage browser caching and the following code is in my htaccess file.
## BEGIN Leverage Browser Caching (Expires Caching) ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css “access 1 month”
ExpiresByType text/html “access 1 month”
ExpiresByType image/jpg “access 1 year”
ExpiresByType image/jpeg “access 1 year”
ExpiresByType image/gif “access 1 year”
ExpiresByType image/png “access 1 year”
ExpiresByType image/x-icon “access 1 year”
ExpiresByType application/pdf “access 1 month”
ExpiresByType application/javascript “access 1 month”
ExpiresByType text/x-javascript “access 1 month”
ExpiresByType application/x-shockwave-flash “access 1 month”
ExpiresDefault “access 1 month”
</IfModule>
## END Leverage Browser Caching (Expires Caching) ##
WordPress 5.0.3. PHP 7.0
Any suggestions?
Hi,
I am getting an “F” (the worst score on Leverage Browser Caching) on GoDaady’s performance check after installing the plugin.
Any ideas why?
]]>I have just updated my version of WordPress to latest 5.0.x and the latest Divi theme version and this WP Performance Score Booster plugin is causing problems with the Divi theme Options control panel. The layout is all messed up and buttons in wrong places. Disable this plugin and its ok again. This plugin worked fine with this combination before.
Any ideas on a fix.
]]>This plugin is not working with the newest update of wordpress, for some reason everything becomes inactive in the back end when this plugin is enabled. Please fix this issue, thanks.
]]>Hi
I enabled all options but I still get low grade in :
– defer js
– removing query strings
– leverage browser caching
please see the report here:
]]>This plugin adds this to the top of your page. Totally unacceptable.
<!– Speed of this site is optimised by WP Performance Score Booster plugin v1.9.2.1 – https://dipakgajjar.com/wp-performance-score-booster/ –>
]]>