Title: js and css minify
Last modified: August 31, 2016

---

# js and css minify

 *  Resolved [homeworker](https://wordpress.org/support/users/homeworker/)
 * (@homeworker)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/js-and-css-minify/)
 * I’ve checked one website with google pagespeed [http://www.reartuassisi.com](http://www.reartuassisi.com)
 * Autoptimize work fine, but there are two alert:
    Minifying…CSS… could save 2.1KiB(
   31% reduction) after compression.
 * and
 * Minifying …JS… could save 2.1KiB (31% reduction) after compression.
 * I thought that autoptimize minify css and js if they are not already minified.
 * Thank you
 * [https://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/js-and-css-minify/#post-7094180)
 * autoptimized files are minified, but:
    * google just thinks it can minify even
   more (cfr. [this thread](https://wordpress.org/support/topic/javascript-comments-1?replies=9)
   for reason + possible solution). * you might have slightly better results by 
   disabling late inject minified code” by passing `false` to the filters `autoptimize_filter_js_inject_min_late`
   and `autoptimize_filter_css_inject_min_late` but it will make the actual minifaction
   somewhat slower (reason; the late-inject method does not minify code that is 
   in a *min.js or *min.css file, but that is not always optimally minified).
 * hopê this clarifies,
    frank
 *  Thread Starter [homeworker](https://wordpress.org/support/users/homeworker/)
 * (@homeworker)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/js-and-css-minify/#post-7094361)
 * Thanks, I’ve tried the inject min late but it slow the minify process to many
   many seconds.
 * I think I can survive for the google google pagespeed error. Thank you
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/js-and-css-minify/#post-7094374)
 * Alternative could be to *really* minify the *min.css and *min.js files on your
   site. The best approach there would be to find the biggest offenders by following
   this procedure;
 * * go to your site with ?ao_noptimize=1 appended to the url to see the site without
   autoptimize
    * view source * find *min.css and *min.js links in there * for each
   one click through to look at that source * if you see lots of linebreaks and 
   comments, the source could be minified better * contact the plugin (or theme)
   developer of the biggest offenders with your findings, asking them to better 
   minify
 * for CSS your main offender seems to be the theme; [http://22th2xdi6e44wq7e4rr7guhq.wpengine.netdna-cdn.com/wp-content/themes/dt-the7/css/main.min.css](http://22th2xdi6e44wq7e4rr7guhq.wpengine.netdna-cdn.com/wp-content/themes/dt-the7/css/main.min.css)
 * frank

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘js and css minify’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/js-and-css-minify/#post-7094374)
 * Status: resolved