{"push_id":2802858791,"size":1,"distinct_size":1,"ref":"refs/heads/patch-8","head":"072b95c363b731f3c55add7c9ed211844aed1b7e","before":"db711919bde7dcca153653cf5f56ddc2fd70f7c9","commits":[{"sha":"072b95c363b731f3c55add7c9ed211844aed1b7e","author":{"name":"Volnus","email":"593e71f0b1bb2619b4bf9f479093d28ab52ec28a@gmail.com"},"message":"Exclude Inline JS That Is URL Dynamic\n\nThere was a post on Facebook, that mentioned users were having a lot of JS files spun up and so I logged into my own host SiteGround, and sure enough, there were about 10GB of JS files from the inline JS aggregation (and above average CPU / process usage). \r\n\r\nSo the site in question is actually one of my own little when I am bored projects. \r\n\r\nhttps://www.thearcadecorner.com\r\n\r\nThe JS was nearly identical on every page except one minor difference\r\n \r\n<script type=\"43b67df4e4d228e8c0359ab6-text/javascript\">/* <![CDATA[ */ var ghostpool_script = {\"lightbox\":\"group_images\",\"url\":\"https:\\/\\/www.thearcadecorner.com\\/watch-latest-pixar-short\\/\",\"max_num_pages\":\"0\",\"get_template_directory_uri\":\"https:\\/\\/www.thearcadecorner.com\\/wp-content\\/themes\\/huber\"}; /* ]]> */</script>\r\n\r\nThe URL constant in that JS is dependent on the page you are on, therefore anytime you visit a different page the JS would be slightly different causing each page to have a different JS file. \r\n\r\nEssentially, this looks to be a common theme amongst ThemeForest themes (And other themes in the premium market) so I think excluding the above pattern is a good fit to avoid this problem any thoughts?","distinct":true,"url":"https://api.github.com/repos/Volnus/wp-rocket/commits/072b95c363b731f3c55add7c9ed211844aed1b7e"}]}
{"actor":{"display_login":"Volnus"}}