Hello,
I’ve been developing the Easy Form Builder plugin and have run into some challenges related to page caching. To manage this, we’ve implemented the following function to work with different page caching plugins alongside Easy Form Builder:
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')) {
rocket_clean_post($page_id);
}
break;
// Additional cases can be added here for other plugins
}
}
}
We are now looking for a more streamlined solution. Ideally, we would like an approach that is more consistent with how other plugins manage caching.
Any guidance or suggestions you can provide would be greatly appreciated!
Best regards,
]]>Hi,
I use your cache plugin and I’m happy but I have an issue using also the Loading Page with Loading Screen plugin.
As reported to the plugin developer here, the loading scree sometimes is not showed in the home page.
If I load my website appending to the url the ?nocache=1 string the loading is always showed correctly.
Could you hep me to exclude from cache the loading screen?
I don’t have any JS optimization active, I’m using your plugin default settings.
The issue with the loading screen happen only on the home page.
In your plugin I’m unable to exlude from cache the home page, I don’t see a way to do it. Will be anyway better if we can found a way to eliminate this compatibility issue by just avoid to cache something of the loading screen that is not work correctly if the cache plugin is active.
Thanks.
Note:
If you test this issue on a test WordPress installation, the issue never happen immediately. After activating your cache plugin and the loading page plugin the loading is showed well also in incognito. After some minutes or just after an hours, the loading is no more showed in the home page.
Deactivating the cache plugin or cleaning cache resolve the issue for just other minutes /hours then the issue occurs again.
Seems also the issue occur when the admin is not logged. As soon I log as admin I can see the loading also on the home page.
]]>I use WP Speed of Light as my static cache, but WP still reports on my dashboard that I’m not using a persistent object cache.
What can I do to request that WP SOL either change its implementation to end the dashboard reports, or to request that WP make modifications to recognize WP SOL as a valid cache plug in?
Is WP SOL NOT a persistent object cache? I thought it was…
]]>This plugin is the better cache plugin I tried but is not complete.
When I run the WordPress site health an issue show that need some plugin to run Object cache, maybe in the backend.
To resolve that issue I need install an additional cache plugin like for example SQLite Object Cache
Will be nice if you can integrate also what an Object cache plugin do so… the Site Health test will pass fully ??
I thought to share this feedback as I know some other cache plugin that do the full job but I prefer use your plugin so.. I hope one day can avoid me to have to use your plugin plus another plugin for Object cache to obtain a good site health result.
]]>Hi,
I use your plugin but it gives an issue with the plugin Loading Page with Loading Screen as seems your plugin create cache issue that forbid the loading to be showed in the home page.
See this support topic that I opened to the Loading Page developer.
Could you please help me to resolve this conflict issue?
Thank you!
]]>Today the plugin crashed my website completely when I wanted to clear cache. Afterwards I got the white screen of death and http error 500. Luckily my webhoster could restore a backup of the site to a state that WordPress a fatal error which was caused by the plugin. Luckily I could start WordPress in recovery mode and delete the plugin.
This is the error message I received in the WordPress recovery email:
WordPress version 6.3
Active theme: Editor Blocks Child (version 1.0.1)
Current plugin: WP Speed of Light (version 3.3.3)
PHP version 7.4.33
Error Details
=============
An error of type E_COMPILE_ERROR was caused in line 5 of the file /homepages/16/d691190147/htdocs/hipwf2/wp-content/plugins/wp-speed-of-light/vendor/composer/autoload_real.php. Error message: Cannot declare class ComposerAutoloaderInit141c0cb4ccc37f62f197e9d6000027fb, because the name is already in use
I have installed Query Monitor plugin to analyze my site and i read that i missing:
A persistent object cache plugin greatly improves performance by caching the result of operations such as database queries, HTTP API calls, and other slow operations. By default WordPress uses a non-persistent object cache, which means repeated operations within the same page load get cached but repeated operations across page loads don’t.
if i install APCu Manager plugin & acrivate object cache i can enable this feauture which was disabled by a warning
My question is whether with speed of light I also need to enable persistent object cache, or whether I’m doing double work
Hello,
I have an error message into my php_error.log each time I click on ‘Clean Cache’ :
PHP Warning: Undefined array key “host” in /wp-content/plugins/wp-speed-of-light/src/Cache.php on line 377
PHP Stack trace:
PHP 1. {main}() /wp-admin/admin-ajax.php:0
PHP 2. do_action($hook_name = ‘wp_ajax_wpsol_ajax_preload_cache’) /wp-admin/admin-ajax.php:187
PHP 3. WP_Hook->do_action($args = [0 => ”]) /wp-includes/plugin.php:476
PHP 4. WP_Hook->apply_filters($value = ”, $args = [0 => ”]) /wp-includes/class-wp-hook.php:331
PHP 5. Joomunited/WPSOL/Configuration::startPreloadCache(”) /wp-includes/class-wp-hook.php:307
PHP 6. Joomunited/WPSOL/Cache::cacheHomePage() /wp-content/plugins/wp-speed-of-light/src/Configuration.php:242
PHP 7. Joomunited/WPSOL/Cache::scanLinks($content = ‘<!DOCTYPE html><html dir=”ltr” lang=”fr-FR”><head><meta charset=”UTF-8″><meta http-equiv=”X-UA-Compatible” content=”IE=edge”><meta name=”viewport” content=”width=device-width, initial-scale=1.0, user-scalable=yes”/><link rel=”pingback” …) /wp-content/plugins/wp-speed-of-light/src/Cache.php:325
Hi:
Im constantly getting these kind of errors in the server error log and several moments the website gets blocked. Do you know why is that?
[Fri Jun 04 00:41:55.542726 2021] [lsapi:warn] [pid 1899043] [client 185.169.255.97:0] [host https://www.adiestradordeperros.com] Backend log: PHP Warning: ini_set() has been disabled for security reasons in /home2/adiestr4/public_html/wp-content/plugins/wp-speed-of-light/inc/minifications/minify/yui-php-cssmin-2.4.8-4_fgo.php on line 205\n
[Fri Jun 04 00:41:55.443654 2021] [lsapi:warn] [pid 1899043] [client 185.169.255.97:0] [host https://www.adiestradordeperros.com] Backend log: PHP Warning: ini_set() has been disabled for security reasons in /home2/adiestr4/public_html/wp-content/plugins/wp-speed-of-light/inc/minifications/minify/yui-php-cssmin-2.4.8-4_fgo.php on line 205\n
Thanks!
]]>Hi, we found a JS error in Speed of Light plugin which make images disappear which have animation set. Also Divi accordion module stops working. I am using SOL 2.6.10, Divi 4.9.1 and WP5.7. At thos moment SOL is not activated on the site. Please check out the screenshot https://paste.pics/BUL8Y. Can you please let know if this can be fixed shortly otherwise I will have to remove SOL and use a different plugin. Thank you.
]]>Hello,
I have this error on my website since recently :
Fatal error: Uncaught Error: Call to undefined function is_user_logged_in() in /homepages/44/d848188129/htdocs/clickandbuilds/studiopepi/wp-content/plugins/wp-speed-of-light/inc/caches/file-page-cache.php:252 Stack trace: #0 [internal function]: wpsol_cache('<!DOCTYPE html>...', 9) #1 /homepages/44/d848188129/htdocs/clickandbuilds/studiopepi/wp-includes/functions.php(4755): ob_end_flush() #2 /homepages/44/d848188129/htdocs/clickandbuilds/studiopepi/wp-includes/class-wp-hook.php(287): wp_ob_end_flush_all('') #3 /homepages/44/d848188129/htdocs/clickandbuilds/studiopepi/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #4 /homepages/44/d848188129/htdocs/clickandbuilds/studiopepi/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #5 /homepages/44/d848188129/htdocs/clickandbuilds/studiopepi/wp-includes/load.php(1052): do_action('shutdown') #6 [internal function]: shutdown_action_hook() #7 {main} thrown in /homepages/44/d848188129/htdocs/clickandbuilds/studiopepi/wp-content/plugins/wp-speed-of-light/inc/caches/file-page-cache.php on line 252
Here is the link : https://studiopepi.fr/
I think it comes from a recent update.
]]>I would like to point out that this plugin prevents me from translating posts with translatepress.
]]>Hi, I wanted to tell you, that after the update to the vers. 2.6.9, you do not activate the CSS deferer and JSS deferer, activating them and then saving, return disabled! Can you check? Thank you!
]]>Hi there. I set the duration of the cache to 10 days. Nevertheless, the cache is always rebuilt.For example, in the source code of the page I see the following:
<!– Cache served by WPSOL CACHE – Last modified: Sun, 10 Jan 2021 11:03:07 GMT –>
What can that be?
]]>I have a problem after installing your plugin!
I click disconnect, but the administration bar is visible on the homepage, even in another browser on another computer, that is, I believe it is visible to all users!
How do I disconnect from the website and the bar disappears as it should from the homepage?
This plugin breaks EnlighterJS plugin. All formatting is lost. These messages appear in the console:
“GET https://liberoscarcelli.net/wp-content/plugins/enlighter/cache/enlighterjs.min.js+gTew+Sspt61 net::ERR_ABORTED 404”
“Refused to apply style from ‘https://liberoscarcelli.net/wp-content/plugins/enlighter/cache/enlighterjs.min.css+gTew+Sspt61’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.”
“Error: EnlighterJS resources not loaded yet!”
The error disappears and pages regain formatting when speed of light plugin is disabled. It seems this plugin is messing around with a wrong file path…
]]>Hello,
I just noticed that some files do not seem to be minified at all:
https://liberoscarcelli.net/wp-content/plugins/cookie-law-info/public/js/cookie-law-info-public.js
https://liberoscarcelli.net/wp-content/plugins/amazon-polly/public/js/amazonpolly-public.js
Maybe some of these scripts are dynamically generated by plugins?
Also, it seems CSS and JS are not actually grouped: the ‘Network’ tab in the Chrome ‘Developer Tools’ show a very large list of files being served. If they are gouped, are ungrouped ones being served anyway?
]]>Hello,
I have to disable the WP cache as it is breaking the GeneratePress ‘Menu’ button on mobile. In fact, you either have to manually delete the cache every now and then or the button simply won’t expand showing all menu options.
This has been happening since GeneratePress has released the latest update
]]>Hello,
Just noticed that the minified JavaScript file that is being served contains formatting characters that I would assume should be removed. Am I wrong? (Hopefully you can read this file before it gets deleted)
]]>i just updated my wordpress version after the update java script top working on admin panel. website wp-admin java script is not working
receiving the following error in chrome console
Uncaught TypeError: Cannot read property ‘hasClass’ of undefined
at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=5.5:2)
at HTMLDocument.dispatch (load-scripts.php?c=0&load[chunk_0]=jquery&ver=5.5:3)
at HTMLDocument.r.handle (load-scripts.php?c=0&load[chunk_0]=jquery&ver=5.5:3)
at Object.trigger (load-scripts.php?c=0&load[chunk_0]=jquery&ver=5.5:3)
at HTMLDocument.<anonymous> (load-scripts.php?c=0&load[chunk_0]=jquery&ver=5.5:3)
at Function.each (load-scripts.php?c=0&load[chunk_0]=jquery&ver=5.5:2)
at n.fn.init.each (load-scripts.php?c=0&load[chunk_0]=jquery&ver=5.5:2)
at n.fn.init.trigger (load-scripts.php?c=0&load[chunk_0]=jquery&ver=5.5:3)
at Object.<anonymous> (heartbeat.min.js?ver=5.5:2)
at i (load-scripts.php?c=0&load[chunk_0]=jquery&ver=5.5:2)
if any additional information please let me know
]]>Hello, speed test not working, it’s looking for an api key but when you click on the link for this – get the message – New API keys are no longer available for the public WebPageTest instance. It seems no longer possible to get api keys for speed test is this correct?
]]>I think being able to selectively disable JavaScript files would be a great improvement. For example, one could disable JQuery, should this not be used.
Just an idea…
Thank you!
]]>Hi,
I’m the developer of WP Hide plugin https://www.ads-software.com/plugins/wp-hide-security-enhancer/ currently with +60000 active users.
Our code helps to change default WordPress assets URLs like –domain–/wp-content/themes/my-theme/style.css and –domain–/wp-includes/js/wp-emoji-release.min.js to something else ( e.g. –domain–/custom-slug/style.css and –domain–/inc/wp-emoji-release.min.js). The problem is, when using your plugin, there is no filter available on your side which we can use in our code to change those URLs with customized ones.
Can you add a filter which i can use? Something similar to existing wpsol_minify_content_return which is used for HTML contents.
Thanks
]]>Hi,
I’m the developer of WP Hide plugin https://www.ads-software.com/plugins/wp-hide-security-enhancer/ currently with +60000 active users.
Our code helps to change default WordPress URLs like /wp-content/ and /wp-includes/ to something else. The problem is, when using your cache plugin, there is no filter available on your side which we can use in our code to change those URLs with customized ones.
For example at /inc/minifications/wpsol-minification-scripts.php there is no filter available which we can use to filter the content and do the replacements, before being saved into cached files.
Can you help?
Thanks
]]>At the moment there isn’t a way to make adjustments to the assets when minified, before they are written to the server. Can you add a filter which i can use? Something similar to existing wpsol_minify_content_return which is used for HTML contents.
Thanks
]]>Hi i use the page preloader but it dont works perfect.
i have 160 sites and sometimes 1-5 will be preloaded sometimes 11 sometimes 60.. where is the problem ?
when is the preloader working.. ? i dont understand.
Is there e preload cycle ? there are no details where i can see that the page is preloaded. i see it only in the ftp cache
before light speed i use wprocket. there i can insert a sitemap for preloading.
]]>Hello, I noticed this issue in a post to this forum for Speed of Light 1 year ago. I am having the same issue, and the reply to the older topic was it would be fixed in a future update. None of the apache mods are detected by the plugin (but they show active from the server). Has this been fixed? MOD-EXPIRES, HEADERS, DEFLATE all show undetected, but they are active…
]]>hi
Its better right now i can edit my page with Divi and SOL. BUT the footer come in divi builder iup the page like it’s an header and hide a part of my design. Thanks a lot
Hi
I have to uninstall Speed of Light Pplugin each time i want to use my Divi builder. Everything goes with classic editor.
This the error in javascript console
VM1581:14 Uncaught (in promise) TypeError: window.jQuery is not a function
at <anonymous>:14:50998
(anonymous) @ VM1581:14
Promise.then (async)
(anonymous) @ VM1581:14
r @ VM1581:7
(anonymous) @ VM1581:7
(anonymous) @ VM1581:7
t.activateScript @ rocket-loader.min.js:1
(anonymous) @ rocket-loader.min.js:1
t.run @ rocket-loader.min.js:1
(anonymous) @ rocket-loader.min.js:1
(anonymous) @ rocket-loader.min.js:1
load (async)
t.runOnLoad @ rocket-loader.min.js:1
x @ rocket-loader.min.js:1
(anonymous) @ rocket-loader.min.js:1
(anonymous) @ rocket-loader.min.js:1
(anonymous) @ rocket-loader.min.js:1
Hello,
I‘m using the pro addon for WPSOL. I‘m having trouble with the Combine JS option and the GTranslate Plugin. As soon as I use conbine it is not working. I already disabled cache external script and I excluded the script but that does not help. Even if I exclude all Javascripts it is not working anymore as soon as combine is enabled.
Due to the fact that JS combine is the only option from the pro addon which increases speed heavily it would be nice to get it working. As soon as combine is switched on the language switch is not working anymore.
]]>