Category Archives: Tips & Tricks

Critical Above-the-Fold CSS for the rescue

Nowadays site loading time became a very important parameter, especially when it comes to the search engine rankings.

If you’ll test your site with Google Pagespeed tool, it will probably show that your site has some issues with content-blocking stylesheets. This means that the browser won’t paint content to the screen until your CSS has been downloaded. To fix this issue, Google recommends us to split our styles into two parts: critical (above-the-fold) and non-critical. Critical CSS should be inlined in the header meanwhile non-critical needs to be loaded asynchronously, so a user could see styled content as soon as possible. Continue reading

Header bidding and page load speed

Ad TechAlthough improving page load time is the second biggest reason to use header bidding vs. daisy chaining (after the increased revenue), it has its own problems when it comes to site speed. Due to the single-threaded nature of browser JavaScript runtime and the limited number browser / OS resources, header bidding is likely to add seconds to your average page load time.

Continue reading

Floating (and coding) on Cloud9

Cloud9 logoI was always a bit skeptical of the whole Cloud IDE thing, that was until recently when I gave Cloud9 a shot. I must admit, I was surprised when I read the Engineering Orientation wiki page for one of our clients, Vroom.com, as it suggested I create a Cloud9 IDE account as part of my project setup. What??

I figured I’d give it a try…

Continue reading

Drupal 8: Views scrollTop behavior

Drupal 8 logoIt’s a weird piece of Drupal 8 out-of-the-box behavior: each time after you AJAX-load a views block with exposed filter, you are scrolled to the top of the block! It’s especially tiresome for mobile device users… Is there a way that we can fix it??

Removing this behavior entirely is a massive improvement. Here is a recipe to circumvent the issue for Drupal 7 – but it won’t work for Drupal 8! But search no more. Here for you is the exact solution:

Continue reading