Performance Improvement
-
@julian Sorry not sure what some of those things mean since I'm just copying the details and grades from gtmet testing
Serve scaled images (F)
Defer parsing of JavaScript (D)
Leverage browser caching (C)
Optimize images (C)Add Expires headers (F)
Make fewer HTTP requests (F)
Use cookie-free domains (F)
Reduce DNS lookups (C)
Minify JavaScript and CSS (B)
Avoid URL redirects (B) -
@AOKP said in Performance Improvement:
@charles as said. Try to use PageSpeed
i use pagespeed and performance is similar
grade C as it was posted earlier -
Leverage browser caching
Add Expires headersassuming you run nginx or apache as proxy you probably configure it to send cache headers for files that are static
Minify JavaScript and CSS
nodebb does this already, if this shows up for your forum its probably caused be either a plugin you installed or any custom css/script
Any plans to improve these? Any suggestions/tips to try?
the rest is rather, well expected, and most bigger websites that you test will have the exact same issues. mostly sideeffects of the modern web being javascript/css heavy and using libraries from multiple sources
though i would like to see an option to host external sources the default themes use on your own server, right now that involves a lot of manual work
Make fewer HTTP requests
http2 to the rescue! seriously try it out
edit: so i checked google pagespeed for my site and the community forums, link for the people that are interested:
my site
this sitehonestly nothing too bad, but I opened two issues for things that should be an easy fix on the nodebb end
use mousetrap.js minfied
minify composer.js -
@phit said in Performance Improvement:
Leverage browser caching
Add Expires headersassuming you run nginx or apache as proxy you probably configure it to send cache headers for files that are static
Minify JavaScript and CSS
nodebb does this already, if this shows up for your forum its probably caused be either a plugin you installed or any custom css/script
Any plans to improve these? Any suggestions/tips to try?
the rest is rather, well expected, and most bigger websites that you test will have the exact same issues. mostly sideeffects of the modern web being javascript/css heavy and using libraries from multiple sources
though i would like to see an option to host external sources the default themes use on your own server, right now that involves a lot of manual work
Make fewer HTTP requests
http2 to the rescue! seriously try it out
edit: so i checked google pagespeed for my site and the community forums, link for the people that are interested:
my site
this sitehonestly nothing too bad, but I opened two issues for things that should be an easy fix on the nodebb end
use mousetrap.js minfied
minify composer.js55 mobile and 63 on pc isn´t good results
-
@exodo said in Performance Improvement:
55 mobile and 63 on pc isn´t good results
the only reason it's so low is that javascript is being loaded first
those numbers are useless, the render blocking is by design since the forum html is loaded via javascriptI guess some things should get moved further down in the document though that aren't needed to render the page
@julian said in Performance Improvement:
Defer parsing of JavaScript
Not possible at this time. NodeBB requires a specific order in which to load its js assets, and they are done in the header right now.
-
@charles said in Performance Improvement:
I agree with @exodo that score of 57/79 and 53/79 (nodebb) doesn't look very good. For some that are judging based on these scores, they would skip and use another app.
I think judging based on those benchmarks alone isn't a great way to determine which software to use.
-
@teh_g said in Performance Improvement:
@charles said in Performance Improvement:
I agree with @exodo that score of 57/79 and 53/79 (nodebb) doesn't look very good. For some that are judging based on these scores, they would skip and use another app.
I think judging based on those benchmarks alone isn't a great way to determine which software to use.
Yes I agree. When I ask several people to give NodeBB a try as their main app, they first go and check the grades
They sent me this (first one is NodeBB) and said, "why would you use that?"
If I can't even get them to try it, think about others that are also check the grades? This is the same with wp themes that have poor scores. People just skip over them and not use them on sites because they want good grades.
It's hard to get people to look past certain things even after they decide on another app.
Just sharing