- This topic is empty.
September 15, 2014 at 4:41 pm #183178
I searched and couldn’t find anything, so I decided to put this up in case anyone that might use it doesn’t know about it:
If you’re using a CSS library like Bootstrap, Foundation or one you made yourself, this can give you extraordinary savings on CSS file size.
I was actually rolling my own base library, this was only 44kb min unzipped, but I was doing this in conjunction with the site CSS so I would of course get a second render block. Regardless of how small the files were, I now have a single CSS file that uses only the selectors I need and none I don’t.
2 files to download, one at 44kb another at 11kb -> 1 file to download at 19kb. Other sites I’ve seen out there can have even more dramatic improvements.
Not bad :)September 15, 2014 at 5:16 pm #183182AlenParticipantSeptember 15, 2014 at 5:23 pm #183186
Very nice! Tons of stuff (including UnCSS) in that talk…September 15, 2014 at 9:37 pm #183210
Hey doesn’t Grunt have a feature for this?September 15, 2014 at 10:50 pm #183214
Yeah, it’s linked from the github.September 15, 2014 at 10:52 pm #183215
Ahhh… I think this is the one I was talking about. I want to use it on a project but… I’m having some Grunt issues. This is specifically the tool I want Grunt for though.September 15, 2014 at 11:55 pm #183220
Out of curiosity, is there a similar tool for jQuery?September 16, 2014 at 12:01 am #183221
Probably. I get lost with all the tools on Github.September 16, 2014 at 9:00 am #183259AlenParticipant
is there a similar tool for jQuery
What do you mean?
You can custom build jQuery and only require things you need or using.September 16, 2014 at 9:48 am #183264
I think he means to clean up unused functions, objects or whatever. But @chrisburton, I must say that for me at least, my JS files are MUCH smaller than my CSS files. I don’t often have functions that are doing jack shit and I’m sure you don’t either. These files should be easier to review and edit yourself.
Now… if someone knows of a tool to detect infinite loops, I’m interested! Oh wait… isn’t that the halting problem? Nevermind.September 16, 2014 at 10:24 am #183266
These files should be easier to review and edit yourself.
Truth.September 16, 2014 at 10:33 am #183267
Even still… I bet someone has created a tool for it and put it on Github.September 16, 2014 at 10:48 am #183270
Even still… I bet someone has created a tool for it and put it on Github.
I just need to take time to create a custom jQuery library that fits what I need. If there’s a possible tool for that, great. I’ll have to find it. Anyway, sorry to hijack the thread.September 22, 2014 at 2:45 am #183953September 22, 2014 at 7:34 am #184111Paulie_DMember
I’ve been out of the country and sans interweb access for most of the time.
Nearly 100 posts spammed and deleted.
What a welcome back
@RobSkiWarrior If you can ban/block/hitwithhammer this guy.
- The forum ‘Other’ is closed to new topics and replies.