Post by madmikefalkirk » Mon May 21, 2018 9:10 pm

hello, I have been going through one of my stores to optimise it (after a battle with my hosting, so i recently moved)
and have used google pagespeed
2 of the things it says i have to do are below, I am not sure what it means, or how to do it...
Any pointers?
currently using latest opencart, and journal 2,

Eliminate render-blocking JavaScript and CSS in above-the-fold content
Your page has 1 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.
Remove render-blocking JavaScript:
https:// ***website***/…che/_f4e392c4300b8141b6c557b2d9c528b1.js
Optimize CSS Delivery of the following:
https://fonts.googleapis.com/…mily=Mont ... bset=latin
https://*** website***.com/…he/_559be125714b11f00c579e7e7c10b994.css

New member

Posts

Joined
Fri Nov 06, 2015 6:53 pm

Post by yodapt » Mon May 21, 2018 10:03 pm

This can only be fixed with know-how. That report means you have Javascript and CSS resources that are being loaded before the page is shown to the end user, so when you request any page of your store you have to wait for all of those resources to load, making the initial request longer. It can be fixed by loading those resources asynchronously, but to get to this point you have to tweak the code by hand, no other way around. How to do it is not something we can tell you either as we dont know where and how those resources are being loaded.

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by paulfeakins » Tue May 22, 2018 4:21 pm

yodapt wrote:
Mon May 21, 2018 10:03 pm
This can only be fixed with know-how.
Indeed, we describe how we did this to a site (not OpenCart) here:
https://www.antropy.co.uk/blog/case-stu ... rovements/

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: No registered users and 71 guests