Hello,
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
]]>Hi+
I’m trying to minify the CSS on our site and this plugin came highly recommended from our hosting provider. So, I followed the instructions and when activated this plugin caused all of our forms to vanish. When I deactivated this plugin our forms re-appeared. We use Ninja Forms for those. We would like to try this plugin without losing our forms (or anything else). Please advise.
Thank you, +ES
]]>Dear Dipak, thanks for the plugin, just one question, can I use the plugin with W3 Total Cache and only active HTML cache and disable JS and CSS?
This use CSS async for no block and have a better Core Web Vitals?
Thank you!
]]>Some other plugins print out schema.org markup and Html minifier have some troubles with json+ld markup. I’ve here the error log message what happened when markup is echoed.
2023/10/17 09:32:02 [error] 1592382#1592382: *41684479 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught JSMin_UnterminatedStringException: JSMin: Unterminated String at byte 1368: [Here is json+ld text content] in /var/www/blog/wp-content/plugins/wp-super-minify/includes/min/lib/JSMin.php:209
Stack trace: 0 /var/www/blog/wp-content/plugins/wp-super-minify/includes/min/lib/JSMin.php(150): JSMin->action() 1 /var/www/blog/wp-content/plugins/wp-super-minify/includes/min/lib/JSMin.php(84): JSMin->min() 2 /var/www/blog/wp-content/plugins/wp-super-minify/includes/min/lib/Minify/HTML.php(236): JSMin::minify() 3 [internal function]: Minify_HTML->_removeScriptCB() 4 /var/www/blog/wp-content/plugins/wp-super-minify/includes/min/lib/Minify/HTML.php(103): preg_replace_callback() 5 /var/www/blog/wp-content/plugins/wp-super-minify/includes/min/lib/Minify/HTML.php(45): Minify_HTML->p” while reading response header from upstream, client:
The content its like:
<script type=”application/ld+json“>{ “@context”: “https://schema.org”, “@type”: “FAQPage”, “mainEntity”: [{ “@type”: “Question”, “name”: “Question 1?”, “acceptedAnswer”: { “@type”: “Answer”, “text”: “Answer 1” } },{ “@type”: “Question”, “name”: “Question 2?”, “acceptedAnswer”: { “@type”: “Answer”, “text”: “Answer 2” } },{ “@type”: “Question”, “name”: “Question 3?”, “acceptedAnswer”: { “@type”: “Answer”, “text”: “Answer 3” } }] }</script>
Hi,
Wordfence reports a critical vulnerability in version 1.5.1:
Is there an update available?
Thanks
Kind Regards
]]>Hi,
When the plugine Super Minify is invoked, it will no londer be possible to use the toggle button on a mobile phone or ipad on an Astra theme in WordPress.
Best regards,
Bert Roode
Hi there —
I’ve just installed your plugin on my WP Multisite. When I did so, the homepage RoyalSlider slideshow no longer appeared. RoyalSlider however did work on a subsite page (click on “portfolio” from the home page menu.
Currently I have your plugin in deactivated, since the homepage must show the pictures. I’ve tried A/B … on/off with your plugin and clearly the plugin is causing the above noted issue.
I’m also using Cache Enabler, but I’m not sure if that impacts this or not.
I don’t have any sophisticated programming skills, but I can follow instructions.
Can you help ??
]]>Hello!
I’ve found some error logs which seems to be caused when WP Super Minify is loading dependencies while WP Rocket plugin is enabled.
you can find the full log in this snippet https://snippi.com/raw/uma6bhe
in the logic bellow, it seems that JSMIN and Minify/CSS.php are loaded only if Minify_HTML class doesn’t exist, but this class does exist in WP Rocket.
if (!class_exists('Minify_HTML')) {
require_once("$minify_lib_path/lib/Minify/HTML.php");
ini_set('include_path', ini_get('include_path').":$minify_lib_path/lib");
require_once("$minify_lib_path/lib/Minify/CSS.php");
require_once("$minify_lib_path/lib/JSMin.php");
require ("$minify_lib_path/lib/Minify/Loader.php");
Minify_Loader::register();
}
]]>
Hi there,
Used your plugin on many sites before however trying it out on a site built with Elementor Pro and when Compress CSS is activated ‘some’ images no longer appear.
These are column background images, they are visible in the builder, bit not on front-end.
Have you heard of this issue before by chance?
Thanks
]]>How to minify the files listed below.
/wp-content/plugins/wp-gdpr-compliance/assets/js/front.js
/wp-content/plugins/contact-form-7/includes/js/scripts.js
Regards,
Somnath
hi Dipak C. Gajjar.
i have issue in my dev site. i saw css resource (font files) urls is still use http protocol. they are not load on HTTPS site.
can you fixed or give me some idea?
]]>When I activate the plugin for Compress CSS, my site looses it’s personalized fonts. Is it normal?
]]>Hi, I install the plugin last week the plugin worked well I achieve 90+ page score after successful minifications, but it created one problem also. I developed my website by page builder and the plugin also minified required files for loading page builder for editing pages.
My question is, if I remove the plugin or deactivate the plugin temporarily, what will happen. will the plugin restore the original files or any other scene. need urgent help.
Thanks
]]>Hello,
I couldn’t find the footer you’ve mentioned in the page source:
*** Total size saved: …% | Size before compression: …bytes | Size after compression: … bytes. ***
I am using WP 4.9.7.
Please help.
Hello,
any chance to EXCLUDE a specific page?
Our Forum doenst work with your plugin.
Thanks
]]>Hi,
I set up AdSense on the header of my site (in header.php file, maybe not the best practise but I have a reason to do that) and by enabling Compress CSS, AdSense will not work on the header but does on other locations (sidebar widget for instance).
Any idea how to fix that?
Thank you
]]>We are using Autoptimize if we had this will it interrupt that plugin?
]]>I can see this plugin is minifying my HTML, but how do I tell it is working for my CSS?
Specifically, with pagespeed from google, it still reports:
Minifying https://morebizstatic-a4b5.kxcdn.com/wp-content/themes/Newspaper/style.css?ver=8.5 could save 17.7KiB (16% reduction) after compression.
If I look at the contents of that URL, it shows no comment like it does for HTML.
I also verified that the option to minify CSS was enabled in settings.
]]>How can I fix this? It seems the plugin has done some damage. I deactivated then deleted it. I have cleared internet browsing history/cache.
]]>sometime around may or june unbeknownst to me this plug in stopped bing and google bots from crawling my website causing it to be delisted. after 3 or 4 hours of work i was able to figure out it was this plug in and corrected the problem by deactivating it. that’s 5 or 6 months that my website was invisible to searches while it worked fine when i typed the url in any browser
]]>Hello @dipakcg.
On one my website I am using “WP Super Minify” with enabled “Compress JavaScript” AND “Compress CSS”. It works fine except one thing.
In my content, I have HTML comments via:
<!--googleoff: all-->
text
<!--googleon: all-->
and all HTML comments are stripped.
But if I disable the plugin or just uncheck “Compress JavaScript” AND “Compress CSS” (BOTH), only in this case I can see HTML comments.
So my question, how to prevent to strip HTML comments in the content area added by an editor? Is it possible?
Thank you in advance.
]]>Conflict with WordPress 4.7.5, throws an internal server error (500) on every single page template.
Any updates coming soon? Thanks
]]>Hi!
Plugin in not working with WPGlobus pages.
You can check it here for example (russian and english version of page):
https://airat.biz/ – Russian version is minified
https://airat.biz/en/ – English version is not minified
Source code:
view-source:https://airat.biz/
view-source:https://airat.biz/en/
Can you fix this issue?
You need to add WPGlobus plugin integration.
UPDATE: I can see this issue only if I logged in to website.
In incognito mode everything is working good.
WordPress 4.7.3
WP Super Minify 1.5.1
WPGlobus 1.7.10
Hello,
When i activate the minify plugin the sliders on the homepage and headers on the pages dissapear. https://www.houtvanbreda.nl
The theme is Kyma-Advanced
Thank you
Timo
]]>Currently, repeating whitespace characters are simply removed, which is a lossy change resulting in visual discrepancies from the original. Such characters should instead be reduced to a single character, preserving output.
Example: https://github.com/stevenvachon/normalize-html-whitespace
]]>Hello:
I have installed the 2 plugins: WP Super Minify and WP Perfomance Score Booster and yet in Google PageSpeed ??Insights it indicates that I minify both JavaScript and CSS, even though I have the minify boxes activated. What can I do?
The theme I use is Divi 3.0.30
]]>Hello,
I’m using the Virtue theme.
According to PageSpeed Insights:
CSS is minified, but the following js file is not minified:
/themes/virtue/assets/js/main.js?ver=284
How can I fix this problem?
Thanks.
]]>Hello,
We bug with your plugin
We disable (uncheck) Javascript Compress in the plugin settings
For the error here:
(index):222 Uncaught SyntaxError: Unexpected string
We disable (uncheck) Compress CSS in plugin settings
Bug with Compress CSS in the footer
Image attached with Compress CSS :enable
https://img11.hostingpics.net/pics/502337865.png
Image attached with Compress CSS :disable
https://img11.hostingpics.net/pics/443862726.png
Thank you
]]>“WP Super Minify” Plugin is causing a bug with the THREE THEME 3D VR js of Takayuki Miyauchi
cf :https://www.ads-software.com/support/topic/3d-vr-doesnt-work-in-wp-4-7/#post-8571491
Hi, my problem is when activate the plugin wp super minify, in seconds my site is down, the site is not working HTTP ERROR 500,then desactived the plugin and my site up again.
What i can do?
thanks.
]]>