{"id":7086,"date":"2015-02-03T08:14:09","date_gmt":"2015-02-03T08:14:09","guid":{"rendered":"http:\/\/hostileblog.com\/?p=224"},"modified":"2020-05-30T21:51:05","modified_gmt":"2020-05-31T01:51:05","slug":"autoptimize-vs-better-wordpress-minify-plugins","status":"publish","type":"post","link":"https:\/\/www.carnaghan.com\/autoptimize-vs-better-wordpress-minify-plugins\/","title":{"rendered":"Autoptimize vs Better WordPress minify plugins"},"content":{"rendered":"

Page load times of WordPress CMS powered blogs can decrease if webmasters start using a caching plugin. The two most widely used plugins for caching are W3TC and WordPress super cache<\/a>. These 2 plugins create static HTML files from all of your blog posts and it saves these files to the cache folder on a disk.<\/p>\n

WordPress saves blog posts in database tables. When a search engine or a visitor requests it via permalink, WordPress loads the post from the database and it renders it as an HTML file.<\/p>\n

WP Caching system automates this task and it adds expiry times to the files it caches. Thus instead of firing an SQL query, the\u00a0caching plugin makes WordPress load your blog posts from the disk. W3TC is pretty good but its CSS and JSS minification can break the site.<\/p>\n

Minification can save bandwidth. Thus, it’s a must use features for webmasters who own self-hosted blogs. Anyways, W3TC is an excellent plugin whose minification feature works on some themes and breaks the layout of other sites.<\/p>\n

WordPress super cache doesn’t support the minification feature and its caching system is pretty solid. If W3TC breaks your site or of you want to use minification with WP-super cache, you can use Autoptimize or better WordPress Minify plugins<\/strong>.<\/p>\n

Better WordPress minify<\/h2>\n

This is a good plugin to minify CSS and JS files of your site. It allows you to add or exclude files that you don’t want to be minified. Better WP Minify<\/a> can save the compressed files to any folder of your choice.<\/p>\n

The plugin allows you to set the cache age. You can use this plugin to save minified static content to the CDN. If you don’t configure this plugin correctly, it will minify the files that build the WordPress dashboard (wp-admin)<\/a>. I’ve faced this problem on my site. Thus, I’ve stopped using this plugin.<\/p>\n

\"Better<\/a><\/p>\n

Autoptimize<\/h2>\n

Frankly speaking, this is a better plugin than Better WP Minify. When you open its setting page, Autoptimize<\/a> will display 5 checkboxes to minify HTML, CSS, JS files, create CSS image sprites, preserve HTML comments.<\/p>\n

\"Autoptimize<\/a><\/p>\n

To save bandwidth and improve page loading speed (check it here on Google page speed insights<\/a>), all you have to do its tick mark all the checkboxes and click on the save button. <\/p>\n

Autoptimize comes with advanced options that allow you to:<\/p>\n