Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Frank Goossens

    (@futtta)

    autoptimized files are minified, but:
    * google just thinks it can minify even more (cfr. this thread 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

    (@homeworker)

    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

    (@futtta)

    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

    frank

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

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