3 ms·
I thought, for sure, I was squarely in this club with my MD files hosted on GitHub. Then, I looked at point #1. 25kB transferred. Wut? It looks like GitHub inc
by codazoda 4y ago
I thought, for sure, I was squarely in this club with my MD files hosted on GitHub. Then, I looked at point #1. 25kB transferred. Wut?
It looks like GitHub includes normalize.css, which is 12kB all by itself. Damn it.
Next I looked at the css framework I built and use for all my sites. I know it's only about 2.5k, but I have a screenshot. 114kB transferred. Damn it.
I'm not in this club even though I try to be tiny.
- giancarlostoro 4y agoWhat if you just link to the raw files? Wouldnt look like nice HTML but could be insanely smaller.
- tasuki 4y ago> It looks like GitHub includes normalize.css What? > I know it's only about 2.5k, but I have a screenshot. 114kB transferred. What?
- codazoda 4y agoOkay, let me explain… I publish only markdown files to GitHub starting with index.md. Behind the scenes GitHub does some Jekyll stuff that I don’t think much about. Whatever they use as a default theme includes a normalize.css file. On the second point, I maintain a little css project I use for a lot of my other projects. It’s called Neat and it’s at https://neat.joeldare.com https://neat.joeldare.com. It is only 2.5k of css, if you download and use it, but I have a screenshot in the demo page, which balloons it.