Please sign in to comment.
Working version of a hefty `autoptimizeStyles::minify()` rewrite + wh…
…itespace/cs/comments: * A lot more robust CDN replacement + now matches local font files too (not only background images) * DRY-ed up some code, removed multiple code paths with duplicated code * improved performance by moving certain parts out of the loop and/or making sure certain operations are not done multiple times when filtering/excluding stuff * added some comments/docs, more to come Needs testing, especially of the `datauri` inilining option. CDN replacements have been tested extensively (albeit on a more-or-less stock WP setup -- some exotic subfolder and/or multisite installs might barf, although I'm not sure they would've worked without problems in the old version either)
- Loading branch information...
Oops, something went wrong.