{"id":5123146,"date":"2014-07-23T10:15:49","date_gmt":"2014-07-23T10:15:49","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/files-on-cdn-are-minified\/"},"modified":"2016-08-21T23:32:14","modified_gmt":"2016-08-21T23:32:14","slug":"files-on-cdn-are-minified","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/files-on-cdn-are-minified\/","title":{"rendered":"Files on CDN are minified"},"content":{"rendered":"<p>Using version 0.9.4 of the plugin, files that are stored on a CDN (certain Javascript files on cdnjs.cloudflare.com) are minified by W3TC and then served from my own server instead of from the CDN.<br \/>\nI&#8217;ve tried adding the URL to &#8220;Never minify the following JS files:&#8221; but this doesn&#8217;t seem to work. What I&#8217;ve tried:<br \/>\n&#8211; Protocol-agnostic URL including version number (\/\/foo.com\/script.js?ver=bar)<br \/>\n&#8211; Protocol-agnostic URL without version number (\/\/foo.com\/script.js)<br \/>\n&#8211; Full URL including version number (http:\/\/foo.com\/script.js?ver=bar)<br \/>\n&#8211; Full URL without version number (http:\/\/foo.com\/script.js)<\/p>\n<p>Am I doing it wrong or is this a bug?<\/p>\n<p>Related: for &#8220;Never minify the following CSS files:&#8221;, a protocol-agnostic URL without version number (Google Fonts) works just fine.<\/p>\n<p>https:\/\/wordpress.org\/plugins\/w3-total-cache\/<\/p>\n","protected":false},"template":"","class_list":["post-5123146","topic","type-topic","status-closed","hentry","topic-tag-cdn","topic-tag-w3tc"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5123146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5123146\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5123146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}