Sort by:
View:

Category: Website Performance

https://torbjornzetterlund.com/wp-content/uploads/2017/01/analytics-resources-960x738_c.jpg

How Fast Should A Website Load?


My friends over at skilled.com have put together a great article and an infographic on Why Faster Page Load Time is Better For Your Website

https://torbjornzetterlund.com/wp-content/uploads/2015/11/503-Service-Unavailable-960x482_c.jpg

HTTP Error 503 – Service unavailable


The 503 page error means that the web server is currently unable to handle the HTTP request due to a temporary overloading of the server. It’s a temporary condition which will be alleviated after some delay. Some servers in this state may also simply refuse the socket connection, in which case a different error may be generated because the socket creation timed out.

https://torbjornzetterlund.com/wp-content/uploads/2014/10/chrome-960x960_c.jpeg

Installing ChromeDriver to use with sitespeed.io


I run into a problem with setting up the ChromeDriver for sitespeed.io, I did not fully understood theinstallation instructions that was outlined in the ChromeDriver Getting started guide, mainly because I was unfamiliar with including the ChromeDriver location in my PATH environment variable on the MacBook that I’m using.. Don’t get me wrong, I’ve updated PATH variables on Windows for years but never on a Mac.

This is what I did in the end

  • Download the ChromeDriver executable.
  • Place the driver in a folder – I choose to place it in /Users/<your name>/Documents/WebDriver
  • Update your own PATH to point to /Users/<your name>/Documents/WebDriver.
  • To do this:
    Open up Terminal
    Run sudo nano /etc/paths
    Enter your password
    Go to the bottom of the file and enter the path you wish to add
    /Users/<your name>/Documents/WebDriver
    Control-x to quit
    Y to save
  • To double check, quit Terminal and relaunch it. Run echo $PATH. You should see your newly added path in the stream of other paths already there.
  • Finally, update your sitespeed.io tests to run using ChromeDriver (include code snippet) and run your tests!
  • If your PATH isn’t set up correctly you get an error message

That’s it, hope this helped you.

Menu