Code Monkey home page Code Monkey logo

Comments (5)

jwest75674 avatar jwest75674 commented on June 28, 2024 1

All sounds great with me folks!

To @KeenRivals point, this was absolutely an excercise in optimization. I've never heard the term "Byte count golf", but will absolutely add it to my common parlance in future.
While it's even deeper in the weeds, I first locally rewrote much of the content to increase repetition, allowing for even greater compression, but even I knew that this was too pedantic to mention seriously. haha

Thanks for your time, and the chat!

from bestmotherfucking.website.

jtagcat avatar jtagcat commented on June 28, 2024

It maybe misses the point. The point is "use [any] compression", 0 vs some compression and 0 vs better compression look the same to corporate: the defaults are a good starting point.

The website is a statement of dumb things observed on the web, pointing them out (such as no compression).

from bestmotherfucking.website.

jtagcat avatar jtagcat commented on June 28, 2024

It's the problem of many technical details, advice, that they go too in-depth and get ignored.

For example, improving auth for common users. Getting TOTP, hardware keys, or something else, messing with them is bad advice, where the user should first start using a password manager.

Yes, you can always get better, but look for the largest improvements in the current situation/problem (no compression) while not overwhelming the reader.

from bestmotherfucking.website.

KeenRivals avatar KeenRivals commented on June 28, 2024

While I thoroughly enjoy a game of byte count golf I think @jtagcat said it best. Back in the day (2004-2010) I used to pre-compress files to the max and use goofy Apache directives to serve what the browser was willing to take. Nowadays the gains are pretty minimal.

from bestmotherfucking.website.

KeenRivals avatar KeenRivals commented on June 28, 2024

You might also be interested that you can hit 2610b with "regular" gzip via 7-zip. 7z a -tgzip -mfb=258 -mpass=100 index.html.gz index.html If you use advdef from advancecomp you can hit 2604b.

This probably takes a lot more cpu time than doing it any other way if you're running on the fly, but for a static meme website it would probably be feasible.

from bestmotherfucking.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.