{"id":1111920,"date":"2016-05-07T14:33:10","date_gmt":"2016-05-07T21:33:10","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/repost-removing-scriptsstyles-on-pages-they-shouldnt-be-loading\/"},"modified":"2016-05-10T13:27:32","modified_gmt":"2016-05-10T20:27:32","slug":"repost-removing-scriptsstyles-on-pages-they-shouldnt-be-loading","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/repost-removing-scriptsstyles-on-pages-they-shouldnt-be-loading\/","title":{"rendered":"Repost: Removing Scripts\/Styles on pages they shouldn&#039;t be loading"},"content":{"rendered":"<p>Greetings,<\/p>\n<p>Unfortunately I need to repost a critical problem with the Events Calendar&#8217;s improper loading of assets. The original post was here, however it was closed and I cannot reopen it:<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"wqZTBZ4GXj\"><p><a href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/removing-scriptsstyles-on-pages-they-shouldnt-be-loading\/\">Removing Scripts\/Styles on pages they shouldn&#8217;t be loading<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Removing Scripts\/Styles on pages they shouldn&#8217;t be loading&#8221; &#8212; \" src=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/removing-scriptsstyles-on-pages-they-shouldnt-be-loading\/embed\/#?secret=M73YAm7UJh#?secret=wqZTBZ4GXj\" data-secret=\"wqZTBZ4GXj\" width=\"580\" height=\"327\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>The solution provided in that thread does has no effect.<\/p>\n<p>We really need a solution to this problem. Currently an additional four additional HTTP requests are being injected before content is displayed, interfering with the critical rendering path. Worse yet two of these resources are JavaScript, which are blocking resources and completely stop the page from loading until parsed \u2014 one of these being the jQuery library, a hefty 97 kilobytes of JavaScript browsers must contend with before the page can be displayed. It&#8217;s also not very nice that the script being erroneously injected by The Events Calendar on every page of every site running the Events Calendar has relocated jQuery from the footer to the header.<\/p>\n<p>I&#8217;d like to underscore that not only is this is major problem for future deployments of The Events Calendar, but that <strong>all previous deployments on completed client projects have seen their performance greatly hampered<\/strong>. I really ask that you guys consider developers, who would like to buy large quantities of licenses, completing a project 6 months ago or a year ago only to see a plugin update mess with the loading of their scripts and performance of their projects.<\/p>\n","protected":false},"template":"","class_list":["post-1111920","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Repost: Removing Scripts\/Styles on pages they shouldn&#039;t be loading -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/repost-removing-scriptsstyles-on-pages-they-shouldnt-be-loading\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Repost: Removing Scripts\/Styles on pages they shouldn&#039;t be loading -\" \/>\n<meta property=\"og:description\" content=\"Greetings, Unfortunately I need to repost a critical problem with the Events Calendar&#8217;s improper loading of assets. The original post was here, however it was closed and I cannot reopen it: Removing Scripts\/Styles on pages they shouldn&#8217;t be loading The solution provided in that thread does has no effect. We really need a solution to [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/repost-removing-scriptsstyles-on-pages-they-shouldnt-be-loading\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-05-10T20:27:32+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/repost-removing-scriptsstyles-on-pages-they-shouldnt-be-loading\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/repost-removing-scriptsstyles-on-pages-they-shouldnt-be-loading\/\",\"name\":\"Repost: Removing Scripts\/Styles on pages they shouldn&#039;t be loading -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-05-07T21:33:10+00:00\",\"dateModified\":\"2016-05-10T20:27:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/repost-removing-scriptsstyles-on-pages-they-shouldnt-be-loading\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/repost-removing-scriptsstyles-on-pages-they-shouldnt-be-loading\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/repost-removing-scriptsstyles-on-pages-they-shouldnt-be-loading\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Repost: Removing Scripts\/Styles on pages they shouldn&#039;t be loading\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Repost: Removing Scripts\/Styles on pages they shouldn&#039;t be loading -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/repost-removing-scriptsstyles-on-pages-they-shouldnt-be-loading\/","og_locale":"en_US","og_type":"article","og_title":"Repost: Removing Scripts\/Styles on pages they shouldn&#039;t be loading -","og_description":"Greetings, Unfortunately I need to repost a critical problem with the Events Calendar&#8217;s improper loading of assets. The original post was here, however it was closed and I cannot reopen it: Removing Scripts\/Styles on pages they shouldn&#8217;t be loading The solution provided in that thread does has no effect. We really need a solution to [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/repost-removing-scriptsstyles-on-pages-they-shouldnt-be-loading\/","article_modified_time":"2016-05-10T20:27:32+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/repost-removing-scriptsstyles-on-pages-they-shouldnt-be-loading\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/repost-removing-scriptsstyles-on-pages-they-shouldnt-be-loading\/","name":"Repost: Removing Scripts\/Styles on pages they shouldn&#039;t be loading -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-05-07T21:33:10+00:00","dateModified":"2016-05-10T20:27:32+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/repost-removing-scriptsstyles-on-pages-they-shouldnt-be-loading\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/repost-removing-scriptsstyles-on-pages-they-shouldnt-be-loading\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/repost-removing-scriptsstyles-on-pages-they-shouldnt-be-loading\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"Repost: Removing Scripts\/Styles on pages they shouldn&#039;t be loading"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1111920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1111920\/revisions"}],"predecessor-version":[{"id":1111934,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1111920\/revisions\/1111934"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1111920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}