Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

make the theme as lightweight as possible #181

Closed
LittleBigThing opened this issue Oct 19, 2018 · 4 comments
Closed

make the theme as lightweight as possible #181

LittleBigThing opened this issue Oct 19, 2018 · 4 comments
Labels

Comments

@LittleBigThing
Copy link

Lightweight themes can load fast without spending hours optimising them by adding stuff. With WordPress powering over 30% of all websites, a lightweight theme can make a real difference in sustainable web development. With Gutenberg, it will be easier to create richer layouts without using more complicated and often bloated solutions. This default theme could demonstrate best practice on this area. And seems that it is off to a good start.

Here, we could gather some suggestions to keep/make Twenty Nineteen as lightweight as possible without losing essential features and functionality.

To start with, here are some suggestions:

  • jQuery is not used for now, let's keep it this way: check
  • do not use webfonts: check
  • use progressive enhancement, of course
  • use polyfills to account for essential functionality in non-supporting browsers
  • ...
@ianbelanger79
Copy link
Contributor

@kjellr
Copy link
Collaborator

kjellr commented Oct 19, 2018

Thanks for the reminder, @LittleBigThing!

These are absolutely great points, and keeping the theme lightweight is an important goal. As you noted, this was the driving force behind the theme's reliance on system fonts (and the fact that we don't — and have no plans to use — jQuery). 🙂 Making use of progressive enhancement and accounting for similar or equivalent functionality across our supported browser set is also key.

You can help by:

Identifying these issues + opportunities at an early stage is essential to making them happen.

@LittleBigThing
Copy link
Author

Check out the latest update for #450 as an enhancement, related to this issue.

@kjellr
Copy link
Collaborator

kjellr commented Jan 8, 2019

👋 Since this is more of a point of feedback than an addressable issue, I'm going to close it rather than port it over to Trac.

Thanks for helping us keep the theme lightweight and speedy, @LittleBigThing!

@kjellr kjellr closed this as completed Jan 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants