Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

FEATURE: Improve Site Performance #149

Open
pioorg opened this issue Jun 15, 2020 · 3 comments
Open

FEATURE: Improve Site Performance #149

pioorg opened this issue Jun 15, 2020 · 3 comments

Comments

@pioorg
Copy link

pioorg commented Jun 15, 2020

Hello
This is something in between a bug and a feature request.

In short, the theme doesn't perform super well when it comes to testing the mobile view on PageSpeed insights.
You can take a look here: https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fthemes.gohugo.io%2Ftheme%2Fhugo-future-imperfect-slim%2F
I've run several tests of this page and usually the score is seventy-something, which isn't great, but it's not terrible. I've never reached the green bar.
I know there are different opinions on "is this report trustworthy or not", but in general I guess being green would not harm.

Cheers
Piotr

@niemyjski
Copy link

It would be nice to remove jquery and related plugins and optionally load the galleries (I don't use any of the extra features). Then use the new script bundling features in 0.74 so we are only loading one file instead of many.

@pacollins
Copy link
Owner

pacollins commented Jul 24, 2020

I have toyed with getting rid of jQuery as we look at #165. While not impossible, there is a lot of refactoring that would need to be done (which I'm not opposed to. I have just refactored the entire theme twice already, so I need a little break from big projects - 😆).

I would love assistance with PageSpeed improvements from people more versed in optimization. I marked this as in progress, but my progress is minimal.

EDIT: Relevant tool for anyone that is interested in refactoring the JS. Also, I'm sure there are some optimizations that could happen within the code itself as well.

@pacollins
Copy link
Owner

pacollins commented May 6, 2021

See Also #230. #245 is a step towards this. Still waiting on #165.

@pacollins pacollins changed the title FEATURE: Better smartphone performance of PageSpeed FEATURE: Improve Site Performance May 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants