{"action":"opened","issue":{"url":"https://api.github.com/repos/futtta/ao_critcss_aas/issues/103","repository_url":"https://api.github.com/repos/futtta/ao_critcss_aas","labels_url":"https://api.github.com/repos/futtta/ao_critcss_aas/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/futtta/ao_critcss_aas/issues/103/comments","events_url":"https://api.github.com/repos/futtta/ao_critcss_aas/issues/103/events","html_url":"https://github.com/futtta/ao_critcss_aas/issues/103","id":437079377,"node_id":"MDU6SXNzdWU0MzcwNzkzNzc=","number":103,"title":"[Question] Removing CCSS from CSS","user":{"login":"willstocks-tech","id":43744514,"node_id":"MDQ6VXNlcjQzNzQ0NTE0","avatar_url":"https://avatars3.githubusercontent.com/u/43744514?v=4","gravatar_id":"","url":"https://api.github.com/users/willstocks-tech","html_url":"https://github.com/willstocks-tech","followers_url":"https://api.github.com/users/willstocks-tech/followers","following_url":"https://api.github.com/users/willstocks-tech/following{/other_user}","gists_url":"https://api.github.com/users/willstocks-tech/gists{/gist_id}","starred_url":"https://api.github.com/users/willstocks-tech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willstocks-tech/subscriptions","organizations_url":"https://api.github.com/users/willstocks-tech/orgs","repos_url":"https://api.github.com/users/willstocks-tech/repos","events_url":"https://api.github.com/users/willstocks-tech/events{/privacy}","received_events_url":"https://api.github.com/users/willstocks-tech/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-04-25T08:48:23Z","updated_at":"2019-04-25T08:48:23Z","closed_at":null,"author_association":"NONE","body":"This one might be a bit out there (or may have been asked before - I couldn't find anything) - would it be possible to remove the styles injected CCSS styles from the original CSS file sent down to the user (in my case, an AO CSS file).\r\n\r\nThe only reason I ask this, is at the moment let's say.... 30% of your CSS is found to be \"critical\", that 30% is then redownloaded again later on to be applied, despite the fact they're already applied and in use.\r\n\r\nSo as an example, the injected CCSS might look something like:\r\n\r\n```html\r\n<style>\r\n  .body{font-weight: bold}\r\n  .h1{font-size: 30px}\r\n<style>\r\n```\r\n\r\nWhile my AO'ed stylesheet might contain:\r\n```css\r\n.body{font-weight: bold}\r\n.h1{font-size: 30px}\r\n.footer{margin: auto;}\r\n```\r\n\r\nIn this case, 60% of the CSS is going to be redownloaded/reused.\r\n\r\nAll of that being said... I know that it's not a simple task by any means, or whether there would be truly any benefit?"}}
{"actor":{"display_login":"willstocks-tech"}}