Khang Minh
Forum Replies Created
-
Forum: Plugins
In reply to: [Better WordPress Minify] HTML minifyI’d love to add this feature, however maintaining it is another matter.
Since HTML minification does not have anything to do with the enqueueing system, there are plenty of plugins out there that can help you with this I believe :).
Forum: Plugins
In reply to: [Better WordPress Minify] Clean name scriptHi,
What is the advantage of having script.js and style.css as the name of combined files?
Regarding the deferring capabilities, it might cause more issues than it could solve so I’m still considering that.
Is that speed test results consistent on every page load? Would you mind sharing the tested page?
Forum: Plugins
In reply to: [Better WordPress Minify] Website Breaking UpHave you tried excluding the responsive css from minifying on the live site?
Sorry I didn’t mention that you will need composer to install that version. Try this one instead: http://betterwp.net/downloads/bwp-recaptcha-2.0.0-beta.zip
The stable version will be released in the next few days, so you might have to manually delete this beta version in order to update to 2.0.0.
Forum: Plugins
In reply to: [Better WordPress Minify] Serve static files with NGINX onlyAccording to the current nginx rules:
set $minify_static ""; if ($http_cache_control = false) { set $minify_static "C"; set $http_cache_control ""; } if ($http_cache_control !~* no-cache) { set $minify_static "C"; } if ($http_if_modified_since = false) { set $minify_static "${minify_static}M"; } if (-f $request_filename$zip_ext) { set $minify_static "${minify_static}E"; } if ($minify_static = CME) { rewrite (.*) $1$zip_ext break; } rewrite ^/wp-content/plugins/bwp-minify/cache/minify-b(\d+)-([a-zA-Z0-9-_.]+)\.(css|js)$ /index.php?blog=$1&min_group=$2&min_type=$3 last;We only hit apache when:
1. A refresh is initiated from user
2. The cached file is not there (see the-f $request_filenamecheck)which means nginx is used to serve static files whenever possible, unless instructed to do otherwise.
I hope that makes sense.
Forum: Plugins
In reply to: [Better WordPress Minify] CSS hover box shows underlineHi,
I think this is the cause: https://code.google.com/p/minify/wiki/CommonProblems#@imports_can_appear_in_invalid_locations_in_combined_CSS_files
When you combine files like this, your parent theme (Skadi)’s styles.css is bubbled to the top, and therefore its rules are overridden.
There are two ways around this:
1. exclude your child theme’s css from minifying
2. instead of importing the parent theme’s css, enqueue it, similar to how you enqueue your child theme’s css. Check out this tip to know how to get the correct path to your parent’s css: http://betterwp.net/wordpress-tips/correct-theme-path-and-url/Forum: Plugins
In reply to: [Better WordPress Minify] No longer working correctly on my site@miwalter can you share the changes you made to your css files?
Forum: Plugins
In reply to: [Better WordPress Minify] Danish translation?Hey, feel free to create one!
2.0.0 ready next week!
Should be resolved in 2.0.0 (released next week).
Should be resolved in 2.0.0 (released next week). If anyone wants it now, you can download it here: https://github.com/OddOneOut/bwp-recaptcha/archive/master.zip
Should be resolved in 2.0.0 (released next week).
Should be resolved in 2.0.0 (released next week).
Should be resolved in 2.0.0 (released next week).