Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render Blocking #27

Open
OhmGeek opened this issue Jul 6, 2017 · 3 comments
Open

Render Blocking #27

OhmGeek opened this issue Jul 6, 2017 · 3 comments

Comments

@OhmGeek
Copy link
Collaborator

OhmGeek commented Jul 6, 2017

Currently, we have the jcrsite.css file which is render blocking, and that's causing Google's PageSpeed to complain (so we want to keep this on side).

Simply move the <style... > tag from the head to the end of the body.

@OhmGeek
Copy link
Collaborator Author

OhmGeek commented Jul 7, 2017

Tried fixing this, but apparently moving stuff around doesn't do anything...

@MikeCroall
Copy link
Collaborator

Moving JS to the end of the body prevents render blocking, but to get Google's PageSpeed to accept CSS isn't blocking, it has to be in the same file. (Yes, as ugly and annoying as it is, this means putting the contents of the file into a style tag in the head of the html file). I never found a nice solution to this.

@OhmGeek
Copy link
Collaborator Author

OhmGeek commented Jul 7, 2017

Really? Eugh that's not ideal... Just have to ignore it I suppose and move stuff back to where it was (considering I now get more complaints :P)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants