VisualComposer / visual-composer-starter

Visual Composer Starter theme for WordPress designed to be a perfect companion for a simple and good looking website or blog.
https://visualcomposer.com/visual-composer-starter-theme/
GNU General Public License v2.0
135 stars 61 forks source link

render-blocking occurring on fonts #272

Closed RMAgency100 closed 4 years ago

RMAgency100 commented 4 years ago

Describe the bug

I'm seeing some render-blocking occurring on the fonts since they're loaded after some javascript (all javascript should be loaded last on the page but before ads), and currently it looks like the second item loaded to the page is jquery.js which should be your fonts instead. Due to this, there's about 0.3-second delay in "render-blocking" due to the fonts being loaded afterwards.

Can this be fixed in the next update for the theme?

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

I'm also seeing a repeat call to one of the fonts at "https://fonts.gstatic.com/s/poiretone/v8/UqyVK80NJXN4zfRgbdfbo55cVw.woff2" which GTMetrix scores the site poorly for.

Can the repeat call be removed to shave off about 1.5 seconds on the test as seen here: http://cl.ly/656d1fe8c476

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

nikitahl commented 4 years ago

Thank you for reporting, we will investigate this issue.

RMAgency100 commented 4 years ago

You're welcome.

[image: photo] Christian McGinty Director, Restaurant Marketing Agency p:+44 (0) 20 3475 5182 | e:christian@restaurantmarketingagency.co.uk | w: https://restaurantmarketingagency.co.uk/ http://www.facebook.com/RestaurantMarketingAgency/ http://twitter.com/@Rest_MktgAgency http://www.pinterest.co.uk/Rest_MktgAgency/ http://www.linkedin.com/company/restaurant-marketing-agency http://plus.google.com/+RestaurantMarketingAgency Restaurant Marketing Blog Instagram Strategy For Restaurant: Growth Hack With Photos https://restaurantmarketingagency.co.uk/blog/instagram-strategy-for-restaurant/

IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email by mistake, please notify the sender immediately and do not disclose the contents to anyone or make copies thereof. https://uk.linkedin.com/in/christianmcginty https://www.facebook.com/RecipeSocialUK http://Rest_MktgAgency Get your own email signature https://www.wisestamp.com/signature-in-email?utm_source=promotion&utm_medium=signature&utm_campaign=get_your_own&srcid=4637740537741312

On Tue, Mar 3, 2020 at 2:19 PM Nikita Hlopov notifications@github.com wrote:

Thank you for reporting, we will investigate this issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/VisualComposer/visual-composer-starter/issues/272?email_source=notifications&email_token=AOXAW2Z5P6AJXVM4BOLX2YLRFT7U5A5CNFSM4LAIVMK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENTOJVY#issuecomment-593945815, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOXAW27NMDXHMTBKQHOA52TRFT7U5ANCNFSM4LAIVMKQ .

veidenbaums commented 4 years ago

Hi!

Could you please check if the problem is solved now?