Eliminate render-blocking JavaScript and CSS

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
ngaia
Registered User
Posts: 247
Joined: Sat Apr 23, 2016 4:28 am

Eliminate render-blocking JavaScript and CSS

Post by ngaia » Tue Sep 05, 2017 2:55 pm

Is this fixable in 3.2 version?

I tested on google pagespeed insights
MObile speed is 64/100

Code: Select all

Possible Optimizations
Eliminate render-blocking JavaScript and CSS in above-the-fold content
Your page has 19 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.

User avatar
Hanakin
Infrastructure Team Member
Infrastructure Team Member
Posts: 569
Joined: Wed Dec 30, 2009 8:14 am
Name: Michael Miday
Contact:

Re: Eliminate render-blocking JavaScript and CSS

Post by Hanakin » Tue Sep 05, 2017 6:47 pm

no not fixable in 3.2 unless you do it to your own board manually. We are working to fix a lot of this in 3.3 and future versions.

ngaia
Registered User
Posts: 247
Joined: Sat Apr 23, 2016 4:28 am

Re: Eliminate render-blocking JavaScript and CSS

Post by ngaia » Thu Sep 07, 2017 1:16 pm

ok, how make my board faster for mobile user, 80% of my users are using mobile

User avatar
Hanakin
Infrastructure Team Member
Infrastructure Team Member
Posts: 569
Joined: Wed Dec 30, 2009 8:14 am
Name: Michael Miday
Contact:

Re: Eliminate render-blocking JavaScript and CSS

Post by Hanakin » Thu Sep 07, 2017 3:14 pm

step 1 merge all your css files into a single css file
step 2 minify this file

ngaia
Registered User
Posts: 247
Joined: Sat Apr 23, 2016 4:28 am

Re: Eliminate render-blocking JavaScript and CSS

Post by ngaia » Mon Sep 11, 2017 4:00 pm

Hanakin wrote:
Thu Sep 07, 2017 3:14 pm
step 1 merge all your css files into a single css file
step 2 minify this file
is there a guide for these job?

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20431
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Eliminate render-blocking JavaScript and CSS

Post by RMcGirr83 » Mon Sep 11, 2017 5:42 pm

Google is your friend.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
Hanakin
Infrastructure Team Member
Infrastructure Team Member
Posts: 569
Joined: Wed Dec 30, 2009 8:14 am
Name: Michael Miday
Contact:

Re: Eliminate render-blocking JavaScript and CSS

Post by Hanakin » Mon Sep 11, 2017 7:55 pm

just copy everything from each file 1 at a time and replace the

@import (file)

line for that file with the contents in the stylesheet.css file

Post Reply

Return to “[3.2.x] Styles Support & Discussion”

Who is online

Users browsing this forum: No registered users and 7 guests

cron