launchinteractive
Forum Replies Created
-
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Reduce amount of css filesOk, so there are two reasons why you are getting 4 files. The first is the difference media types in the style tags.
The second is actually because you have 2 external scripts being enqueued between 3rd & 4th styles. These files are:
<link rel='stylesheet' id='divi-fonts-css' href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,latin-ext' type='text/css' media='all' /> <link rel='stylesheet' id='et-gf-source-sans-pro-css' href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,200,200italic,300,300italic,400italic,600,600italic,700,700italic,900,900italic&subset=latin,latin-ext' type='text/css' media='all' />We have discovered that our plugin doesn’t respect external file ordering correctly and that is why they are outputting before the MMR files.
We have just pushed an updated version of MMR that will fix this.
This update won’t fix anything for you unfortunately. It may help you re-order the styles.
In the future we might be able to output all external files that don’t have dependancies first and merge the rest.Forum: Plugins
In reply to: [Merge + Minify + Refresh] Reduce amount of css filesHi Peixoto,
MMR tries its best to create a single CSS file and a single JS file. It will create seperate files in certain circumstances. Eg. External Scripts don’t get included or minified, CSS media types will split into seperate files etc.
If you can provide a link to your website I might be able to explain why your getting so many files.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] "unminified version used"MMR currently uses the non minified version if it exists. There were issues sometimes with compressing a compressed file.
I guess we could put in a check for this. If the Disable JS Minification checkbox is added then we could respect the specified file.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Compression not workingHey Swinggraphics, It looks like closure will only run java 7+.
Could you please replace line 908 of merge-minify-refresh.php to this:
if(function_exists(‘exec’) && exec(‘command -v java >/dev/null && echo “yes” || echo “no”‘) == ‘yes’ && exec(‘java -version 2>&1’,$jvoutput) && preg_match(“/java\ version\ \”[0-9]+\.([7-9]{1}+|[0-9]{2,}+)\..*/”, $jvoutput[0])) {
This should check exec available, then check for java, then check the java version is 7+
If that works for you I’ll add it into the plugin.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Compression not workingHi swinggraphics, MMR detects for java and if its found it assumes it will work. I think there is a minimum version required for closure to work. I’ll investigate. We might be able to check for version. Do you know what version of JAVA this hosting has?
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Page speed went down, not upWhen the scripts filename changes from .js to .min.js (or .css to .min.css) its generally finished. You can also expand the file to see the full details and how much of a saving you have made.
Also, you need to visit the site to trigger MMR to trigger a compress.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Page speed went down, not upHi amandathewebdev. Its possible the minification process may of been still running when you ran the speed tests as it happens in the background. How quickly did you run the tests?
The plugin should be enabled by default but there are extra options to tweak settings. If you go to Settings > Mere + Minify + Refresh you can see if the script minification has completed.
Are you able to post a link to your website?
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Latest update broke everythingPlease try version 1.6.6 as I think it might resolve your issue.
Great. I’ve committed the change as MMR 1.6.6
MMR is just trying to determine the absolute path so that it can read the scripts from the file system. The previous version had issues when WordPress was installed in a subdirectory different to document root.
$this->wordpressdir = untrailingslashit(str_replace($_SERVER[“DOCUMENT_ROOT”], ”, ABSPATH)); is our attempt at determining any subfolders.This might be a better solution.. could you please change:
$this->wordpressdir = untrailingslashit(str_replace($_SERVER[“DOCUMENT_ROOT”], ”, ABSPATH));
to this:
$this->wordpressdir = parse_url(get_site_url(), PHP_URL_PATH);
does that work?
Thats really odd that ABSPATH is stripping the start of the path. I image there would be heaps of other issues with a path like that. Are you able to check what ABSPATH is set to in your wp-config? maybe echo before and after the !defined check.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Support for SSLI’m marking this as resolved as there has been no response.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Exclude JS minify opitionThis is now available in the options.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] failure messages on everythingI’m marking this as resolved as there has been no response.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Compression scheduled -clock icon-I’m marking this as resolved as there has been no response.