{"id":12294729,"date":"2020-01-05T20:16:57","date_gmt":"2020-01-05T20:16:57","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/javascript-file-include-error\/"},"modified":"2020-01-05T20:16:57","modified_gmt":"2020-01-05T20:16:57","slug":"javascript-file-include-error","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/javascript-file-include-error\/","title":{"rendered":"Javascript file include error"},"content":{"rendered":"<p>Looks like the include of the file dynamic-conditions-public.js has a <strong>double \/<\/strong> which is fine for the browser but it gets a problem with Cache\/CDN plugins that will CDN the file and create an invalid link.<\/p>\n<p><code>https:\/\/&lt;your CDN&gt;\/app\/plugins\/dynamicconditions\/\/Public\/js\/dynamic-conditions-public.js<\/code><\/p>\n<p>(Tested with W3 total cache and Amazon CloudFront)<\/p>\n","protected":false},"template":"","class_list":["post-12294729","topic","type-topic","status-publish","hentry","topic-tag-cache","topic-tag-cdn","topic-tag-javascript"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12294729","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\/12294729\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12294729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}