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

Eliminate render-blocking JavaScript and CSS in above-the-fold content #34

Open
innovativedmm opened this issue Jan 25, 2017 · 2 comments

Comments

@innovativedmm
Copy link
Member

Your page has 2 blocking script resources and 2 blocking CSS resources. This causes a delay in rendering your page.

None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.

  1. Remove render-blocking JavaScript:
  1. Optimize CSS Delivery of the following:
@leggomuhgreggo
Copy link

Good issue @innovativedmm!

I think both of these optimizations are essentially the same process of downloading local versions of the files and then including them in our build.

Our theme leverages a manifest.json file to handle assets includes with its build system. So the files just needs to be defined there.

This would be a good one for someone new to start learning the ropes.

@Smona
Copy link
Member

Smona commented Jan 25, 2017

Wordpress-specific resource on doing this. jQuery and jqmigrate are inserted by WordPress itself. So the fix for this is probably in setup.php

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

No branches or pull requests

3 participants