launchinteractive
Forum Replies Created
-
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Possibly not compatible with W3 Total Cache?It sounds like W3 is caching the html which would be caching the links to the js/css. When the js/css changes then the html needs to update to link to the new files. Is there an option to turn off page caching and if so, does that help?
There is a hook in MMR that fires once it has completed a minify. If this is the issue then this could be utilised to tigger W3 to clear its page cache.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Deferring script loading?G’day,
We could add the option to defer all scripts and load in the footer.. but I think it might introduce more issues. I’ve seen lots of plugins and themes spit out javascript in the middle of the page and expect their enqueued scripts to be loaded already.
You could try enqueuing your scripts in the footer (fifth parameter of wp_enqueue_script) and then force them all to defer using a filter (https://matthewhorne.me/defer-async-wordpress-scripts/) to see if this works for you.. but my guess is most sites will break.
Let me know how you go.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Unsupported major.minor version 52.0Thanks for investigating this Andrew. Perhaps we should add a setting so you can select what version of closure you want to use. What do you think? It would mean bundling multiple versions.
Forum: Reviews
In reply to: [Merge + Minify + Refresh] broken mobile versionDo you have a different theme for your mobile site to your desktop site?
Forum: Reviews
In reply to: [Merge + Minify + Refresh] Website Destroyer – Play Carefully Kids…I’m sorry to hear you had so many issues. Any chance you can list the plugins that you have enabled so we can debug your issue?
Hi Roy,
Does the MMR logs say that the minifier is trying to use Closure or PHP Minify?
Forum: Reviews
In reply to: [Merge + Minify + Refresh] uninstallation broke the websiteHi, I’m guessing you have some other caching plugin installed that has cached the html. If you cleared that cache I believe your website would be fine. The uninstaller cleans up after itself which I believe is best practice.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] call_user_func_array No Valid CallbackOops, sorry about that. I’ve just pushed out 1.8.9 which should fix that.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Change orderI’ll mark this as resolved.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Change orderHi, if you know the handles that the main theme is using you can dequeue the main theme and then re-enqueue them before your theme. There are other plugins that will handle this however I haven’t tested them. eg. https://ww.wp.xz.cn/plugins/re-order-css-and-js-loading-order/
Forum: Plugins
In reply to: [Merge + Minify + Refresh] file_get_contents error on multisiteI’ve just uploaded a new version of MMR that should fix this. Please open a new thread if its still playing up.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Generated CSS files are empty on MultisiteHi, I’ve just uploaded a new version of MMR that should resolve this. Please open a new thread if its still playing up for you.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] MMR + Backend cache issuesThanks Lucas. I’ve just uploaded a new version of MMR that adds this. I slightly modified the variables but should work the same as its completely based off your code.
Hi,
This is something we did try when we were developing MMR and it was more trouble than it was worth. The reason is WordPress already does its own merging of files in the admin and we found re-compiling the assets didn’t have much of a saving and also often failed. We decided its best to ignore the admin and only apply MMR for the frontend.
I’m going to mark this as resolved.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] JavaScript issueYou can view the logs by going to settings > MMR and clicking on the view log next to each script. The log will tell you if closure is being used. This should help identify the script that is the culprit. You can then add that script into the ignore list.