launchinteractive
Forum Replies Created
-
Forum: Plugins
In reply to: [Merge + Minify + Refresh] jQuery Core and MigrateYeah, that’s what I’m seeing. I skimmed the source code for each and searched for console.warn messages. It looks like they get stripped when they compile it.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] jQuery Core and MigrateHi Oliver,
When MMR attempts to include a file like /wp-includes/js/jquery/jquery-migrate.js it will look for /wp-includes/js/jquery/jquery-migrate.min.js and use that instead. If we don’t do this then there is the potential that MMR will try to minify a file that is already minified. This can lead to errors.
It looks like the unminified version of jquery migrate includes the console warnings.
A workaround would be to enqueue your own version of jquery migrate.
Forum: Reviews
In reply to: [Merge + Minify + Refresh] good pluginHi Marisa. It really depends on the site and the way it has been built. Lots of small css and js will perform differently than lots of large css/js files. The best thing to do is do what you have done and benchmark your site and work out what works best for you.
Thanks for submitting this. I’ve just added it to version 1.14.2
Forum: Plugins
In reply to: [Merge + Minify + Refresh] PHP Error Notice – String offset cast occurredThanks Oliver. I’ve pushed out an update to resolve this.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] PHP Error Notice – String offset cast occurredHi Oliver,
I’m not getting these errors with PHP 7.4 or 8.1
What version of PHP are you using?
Forum: Reviews
In reply to: [Merge + Minify + Refresh] Works with caveatsDo you have any errors in the logs?
Also, if you can change the @import to a wp_enqueue then I believe you will get a better result.Forum: Reviews
In reply to: [Merge + Minify + Refresh] Works with caveatsMinification is performed on a wp-cron which is created by a page load, or on a schedule as a backup. It is possible wp-cron is not firing. Are you able to check that it is working?
Do you mean @import? @import is standard CSS, whereas @include is a Sass thing. MMR will not merge files that have @import. This is to ensure compatibility. If you know that your CSS doesn’t have any @import statements then you can skip checking for extra speed.
Forum: Reviews
In reply to: [Merge + Minify + Refresh] Works with caveatsMMR doesn’t support @include as its a Sass thing. Minification with a htpasswd protected site should work however. It might take longer to do the minification but I see no reason why it wouldn’t work.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Programmatically ignore fileHi Matthias,
Apologies for the delay. This has now been rolled out in version 1.13
Forum: Plugins
In reply to: [Merge + Minify + Refresh] One CSS file keeps throwing a 404 errorHi David. That sounds like that could be the issue. Could you try adding the following to your wp-config file to prevent MMR from deleting the old files?
define('MMR_REMOVE_EXPIRED', false);Forum: Reviews
In reply to: [Merge + Minify + Refresh] Much better than autoptimizeThanks for your review.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] One CSS file keeps throwing a 404 errorHi David,
I would have a look at the logs for the merge and try to work out what plugin or css file is causing the error. I suspect a plugin is enquing the css in a strange way and you may need to ignore the file.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Is plugin still supportedYes, we are still supporting it.. however we haven’t had much time to add new features. We still use it in all of our WordPress projects and will make sure it keeps working.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Programmatically ignore fileYeah, I think I understand what you are talking about. Would the following changes work for you?
https://gist.github.com/castles/7d9fcb147b3f9390b46515f216154cb5
You should be able to hook into mmr_ignored_js_sources and mmr_ignored_css_sources
(I haven’t tested this)