Giter VIP home page Giter VIP logo

Comments (4)

Sancus avatar Sancus commented on August 15, 2024 1

The start page loads every time someone starts the Thunderbird client. It needs to be as minimalist and quick-loading as possible. In fact I've been meaning to go back to it at some point and fix it so that it's just one http request by in-lining all the CSS and images into the page the way it used to be before they messed it up on the import to mozilla.org

Bootstrap is 141KB of minimized CSS. The whole start page right now is about ~200KB, so that's a 70% increase to the size of the page. This isn't significant for people on broadband, but for people who don't(still plenty of those out there) it's significant. It's also very significant in terms of our Cloudflare bandwidth usage, which is free atm, but I imagine there's some threshold where they would deem it abuse, so we probably shouldn't be too casual about it.

So if you just want the bootstrap CSS maybe, if you want the JS part then I really would argue against that because that will impact performance even after the page is cached.

The question is more, can we just do whatever layout you want without Bootstrap's overhead? The answer is most likely yes, and for the start page in particular it is best to avoid framework and library bloat.

from thunderbird-website.

ryanleesipes avatar ryanleesipes commented on August 15, 2024

Just FYI, Bootstrap is found here: https://getbootstrap.com/

from thunderbird-website.

ryanleesipes avatar ryanleesipes commented on August 15, 2024

It's a good question @Sancus - whether the layout I want can be accomplished without Bootstrap or some other library's added bulk. I'm still experimenting with what we have on the start page, as you can see in #30.

Is there any documentation for the website that I'm not aware of? It's pretty straightforward, but I'm not sure why the "

" layout places things from right to left. Meaning when they are condensed for a smaller screen it appears in the opposite order (the things on the right appear on top of the things on the left). It's stuff like this that makes me wish I was using bootstrap.

from thunderbird-website.

ryanleesipes avatar ryanleesipes commented on August 15, 2024

Closing this, I'm up to speed.

from thunderbird-website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.