prefixfree.js Javascript Library for auto-adding vendor prefixes

Posted in: Newspaper
Post count: 17

Has anyone experimented with this? Any opinions on its effect on pagespeed or compatibility with the theme? Seems really cool for those of us who prefer clean stylesheets!!!

Post count: 9544

I think with the tagDiv speed booster, gzip/deflate on your server (which *should* be running properly if talking about speed), and mod_pagespeed, that might be one thing too many, in my humble opinion.

I don’t know anybody using it. Most “pro” developers simply mod their SASS/LESS code for what they need and the super cool geeks use COMPASS.

With WordPress you have a number of inter-dependent things, so likely more of a “does it work well with WordPress” before “does it work with the theme.”

There is some discussion in the WP core about the subject of autoprefir and prefix-free
https://core.trac.wordpress.org/ticket/27078

However it may be that what you think it will do for you, isn’t what it actually does. It does “reduce the size” of CSS3 code, but was built in 2011 when it was a slower world, prior to HTML5, mod_pagespeed, and many of the efforts to write simpler code — again, take a look at SASS/LESS formats, along with minification.

While it was a good tool for a super high traffic site, to basically build in “shortcoding” of the elements, in the real world with average blog it won’t REALLY do that much for you — I doubt you would increase a pagespeed score by even a point.

If you’ve already minified all your CSS/JS, have caching, expires heading, using CDN for common elements, smushing and compression all your images, using cache for pages, and not injecting a ton of external content in your pages … and you still need to get one point someplace, it might be worth trying. But, why? Not really going to do much, if you’ve already done everything else. My 3 cents, anyway (2 cents adjusted for inflation). 😉

Post count: 17

What a wonderful response. I look forward to dialoguing with you more! If you want to REALLY add 3 cents, take a look at my post about custom blocks. This seems to be something that should be a *LOT* more documented imo. In fact, I even think there should be a blog/tumblr/whatever where people can share code blocks for custom blocks/modules.

This is exactly the kind of thing that can be crowdsourced!

With that said, I’ll look more into SASS and LESS. I’m still just mastering the world of Sublime Text packages but I’ll add it to the list.

Post count: 9544

🙂

the main downside to messing with the theme tooooo much, is that it’s still very much in development. It started as a wonderful project with v2, and then a billion requests were made, and v3 is the response to that along with all of Radu(s),Marius,et al having many great ideas on their own (of course). So, I think a couple more months and it will more “done done” while now it’s very usable, with some very very minor things to fix.

They’ve been doing a fantastic job. If I can get one image management thing added we’ll be “golden” over here as some folks say. I didn’t need mega menus or flying bunnies, but image handling is critical for us since we *do* have working news portals.

Anyway…. it’s an adventure, that’s for sure 🙂
I’ve not messed with SASS/LESS, as it’s just one more thing to break my camel back. !

Post count: 17

but theoretically, shouldn’t new blocks be pretty easy to test since they are just built on modules anyway??? Not trying to push the issue as I understand what you are saying–it’s more that I’m trying to make sure my logic is sound or see if I’m missing something that’s not obvious to me!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.