I wonder if we can create a JSS CSS compressor?

Life

Googele, react, etc use compressed CSS selectors, like AYxX

 

This would shrink our ultra verbose, human friendly CSS from hero-swerip__slide–let quite a bit. Maybe even 30%+; If we did the  modification in the <head> with pure JS, or somehow serverside (not possible in many envs), we should do it!

compress--my-long-nam

Our CSS is getting large even with BE. T

Raw JS (speedy) in ​<head>` would prevent FOUC.

Interesting idea. Ping me if already done or feedback.

 

One gotcha: <head> downloads all CSS… so that will still be slow. WIP!

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s