Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compression Ideas #2

Closed
kristoferbaxter opened this issue Apr 14, 2017 · 4 comments
Closed

Compression Ideas #2

kristoferbaxter opened this issue Apr 14, 2017 · 4 comments

Comments

@kristoferbaxter
Copy link

This is a small set of ideas for the compression steps. I'm writing these free-form.

Leverage Brotli Static Dictionary for Key Values
We spoke about this in person, but I'd like to try an experiment with counter hashing leveraging the static dictionary brotli comes with (https://gist.github.com/anonymous/f66f6206afe40bea1f06).

Here's the idea:

  1. Pull all the values from the dictionary and filter out ones invalid for classnames. (eg !, https://gist.github.com/anonymous/f66f6206afe40bea1f06#file-gistfile1-txt-L777)
  2. Use these values for classname keys
  3. Only apply to Brotli compressed version of the assets (this requires separate build of all dependents on a brotli pathway)

CSS Nano Optimizations
Understand you're already likely looking at these optimizations, but wanted to insure it was noted somewhere.

http://cssnano.co/

@dbuthay
Copy link

dbuthay commented Apr 14, 2017

There are a few more that maybe we should filter: https://gist.github.com/anonymous/f66f6206afe40bea1f06#file-gistfile1-txt-L774

@chriseppstein
Copy link
Contributor

Another css optimizer: https://github.com/css/csso

@chriseppstein
Copy link
Contributor

A tool for comparing CSS sizes https://github.com/ben-eb/css-size

@chriseppstein
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants