-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip (re-)minification of already minified files, e.g. *.min.js and *.min.css #19
Comments
@adoerler |
Hi, thank's for your fast response! WP-Plugin Autoptimize has added such a feature in release 2.0 (https://tah.wordpress.org/plugins/autoptimize/faq/). They state:
I think one could profit from faster performance if source is already minified. Configuration could be an array of regular expressions, like:
Andreas |
I think this is the main reason why the need to make such a revision. As is, in principle, once processing. And then all cached, and not very resource-intensive. |
you are right, this is also a very good reason having this configurable. Andreas |
Hi,
this extension is awesome.
To speed things up, it would be great to skip files ending with .min.css or .min.js from running again through e.g. CssMin::minify.
Best thing would be to have this configurable per AssetBundle, but I'm not sure if this will be possible. On the other hand a regex (configurable in the assetsAutoCompress configuration array) could do the job.
What do you think?
Kind regards from Austria
Andreas
The text was updated successfully, but these errors were encountered: