{"id":18745,"date":"2020-02-25T16:33:49","date_gmt":"2020-02-25T21:33:49","guid":{"rendered":"https:\/\/www.boldgrid.com\/support\/?p=18745"},"modified":"2024-02-22T10:05:21","modified_gmt":"2024-02-22T15:05:21","slug":"choosing-a-minification-method-for-w3-total-cache","status":"publish","type":"post","link":"https:\/\/www.boldgrid.com\/support\/w3-total-cache\/choosing-a-minification-method-for-w3-total-cache\/","title":{"rendered":"Choosing a Minification Method for W3 Total Cache"},"content":{"rendered":"<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<?xml encoding=\"utf-8\" ?><html><body><p>Minification refers to removing non-vital content from HTML, CSS, and JavaScript so that it will be semantically correct, but smaller in size. Because these assets are smaller, this means that less information needs to be transferred for your site to function.<\/p>\n<p>When minifying assets, this consumes resources such as CPU and Memory, and may increase the time required to respond to HTTP requests for the minified content. Because of this, Minification should always be used with properly configured caching. In environments with limited resources, minification may have an adverse impact on general performance.<\/p>\n<div class=\"boldgrid-section\" style=\"margin-top: 60px;\">\n<div class=\"container w3tc-radius\" style=\"border-width: 0px; background-image: url('https:\/\/www.boldgrid.com\/wp-content\/uploads\/2023\/07\/upsell-darker-alt.png'); background-size: cover; background-position: 50% 5%;\" data-image-url=\"https:\/\/www.boldgrid.com\/wp-content\/uploads\/2023\/07\/upsell-darker-alt.png\">\n<div class=\"row upsell-column\" style=\"padding-top: 2em; padding-bottom: 2em; color: #ffffff;\">\n<div class=\"col-lg-1 col-md-1 col-sm-12 col-xs-12 hidden-sm\">&nbsp;<\/div>\n<div class=\"col-lg-5 col-md-6 col-xs-12 col-sm-7\">\n<p class=\"h3\" style=\"color: #ffffff; line-height: 40px; margin-top: 0;\"><strong>Speed Up Your WordPress Website.<\/strong><\/p>\n<p style=\"color: #ffffff;\" class=\"h4\">A Difference of Just 100ms in Page Load Speeds Can Cause a Visitor to Prefer Your Competitor&rsquo;s Website.<\/p>\n<\/div>\n<div class=\"col-lg-6 col-md-5 col-sm-5 col-xs-12 text-center align-column-center\">\n<p class=\"\" style=\"border-width: 0px;\"><a class=\"button-w3tc-white\" style=\"border: 2px solid #30BEC4; font-size: 18px; padding: 15px 30px;\" href=\"https:\/\/www.boldgrid.com\/w3-total-cache\/#pricing\">View Plans<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h2 id=\"choosing-a-method-for-minification\">Choosing a Method for Minification<\/h2>\n<p>While multiple methods are available, you should almost always use disk-based caching unless you have a clear reason to do otherwise. In-memory caches are typically cleared more often, and because generating minified assets is costly this may have an adverse impact on performance.<\/p>\n<\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>Minification refers to removing non-vital content from HTML, CSS, and JavaScript so that it will be semantically correct, but smaller in size. Because these assets are smaller, this means that less information needs to be transferred for your site to function. When minifying assets, this consumes resources such as CPU and Memory, and may increase [&hellip;]<\/p>\n","protected":false},"author":529,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"bgseo_title":"Choosing a Minification Method for W3 Total Cache","bgseo_description":"Minification refers to removing non-vital content from HTML, CSS, and JavaScript so that it will be semantically correct, but smaller in size. Because these assets are smaller, this means that less information needs to be transferred for your site to function.","bgseo_robots_index":"index","bgseo_robots_follow":"follow","footnotes":""},"categories":[741,692],"tags":[],"class_list":["post-18745","post","type-post","status-publish","format-standard","hentry","category-minify","category-w3-total-cache"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/posts\/18745","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/users\/529"}],"replies":[{"embeddable":true,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/comments?post=18745"}],"version-history":[{"count":5,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/posts\/18745\/revisions"}],"predecessor-version":[{"id":125535,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/posts\/18745\/revisions\/125535"}],"wp:attachment":[{"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/media?parent=18745"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/categories?post=18745"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/tags?post=18745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}