Tag Archives: speed

A More Efficient Method for Embedding YouTube Videos

When you embed any YouTube video on your website using standard IFRAME tags, you’ll be surprised to know how much extra weight that YouTube video will add to your page. The web page has to download ~0.5 MB of extra resources (CSS, JavaScript and images) for rendering the YouTube video player and the files will download even if the visitor on your website has chosen not to watch the embedded YouTube video.

Read all about it here http://www.labnol.org/internet/light-youtube-embeds/27941/

Breaking the PageSpeed Barrier with Bootstrap

I recently had the pleasure to listen to Ilya Grigorik give a talk at Velocity in NYC on Breaking the 1000ms Mobile Barrier. During the talk, Ilya usedPageSpeed Insights to demonstrate that several high profile websites had overlooked some very simple and common optimizations and resulted in poor PageSpeed scores. For the unfamiliar, Pagespeed Insights is a web based tool created by Google that analyzes the content of a web page, then generates suggestions to make that page faster.

After Ilya’s talk ended, I started to think more about why performance always seems to be an afterthought with developers. As I pondered this thought, I kept coming back to the following question:

How hard is it to get a perfect PageSpeed Insights score?

 

Sucuri lunched Performance – A Website Performance Tool

Sucuri has lunched an Website Performance Tool.

We extract three key metrics that are critical to the performance of any website: connection time, time to first byte (TTFB) and total load time:

  • Connection time: It measures how long it takes for the TCP session to be established to your website. If you are a networking geek, it measures how long it takes for the 3-way handshake to be completed.
  • Time To First Byte (TTFB): This is one of the most important numbers to pay attention to, as it tells you how long it takes for the first byte to be received by the browser. This metric is important because as soon as the browser receives the first few bytes, it can start to load the page and display content to the end user.
  • Total Load Time: This shows how long it takes for the full page to be loaded.

To give us the visibility we need for these tests, we setup 13 globally distributed testing stations:

  • 4 in USA (New York, Atlanta, Dallas and Los Angeles)
  • 1 in Canada (Montreal)
  • 4 in Europe (Germany, UK, France and Netherlands)
  • 2 in Asia (Japan and Singapore)
  • 1 in South America (Brazil)
  • 1 in Australia

 

 

 

14 Rules for Faster-Loading Web Sites, from Steve Souders

High Performance Web Sites

 

Slowy app Real-world connection simulator and bandwidth limiter

So anyone working with web knows that websites speed – and internet speeds – are important to retain clients/visitors.

I probably gonna start to work with a client from Colombia – not drugs related – that needs to ensure that his website and content is optimized to his main clients – colombian people – who at the top, have 2Mb internet connection – and I might need to limit my internet connection to that speed (and lower) to study the website strangulation.

I will use Slowy app Real-world connection simulator and bandwidth limiter.

slowyapp

Continue reading Slowy app Real-world connection simulator and bandwidth limiter

VPS Dreamhost / New Dream Network Speed test

 

Retrieving speedtest.net configuration…
Retrieving speedtest.net server list…
Testing from New Dream Network, LLC (64.111.112.229)…
Selecting best server based on ping…
Hosted by Fireline Broadband (Irvine, CA) [27.72 km]: 37.75 ms
Testing download speed………………………………….
Download: 310.53 Mbits/s
Testing upload speed…………………………………………..
Upload: 153.18 Mbits/s

 

Testing from New Dream Network, LLC (64.111.112.229)…
Selecting best server based on ping…
Hosted by California Internet Solutions (Los Angeles, CA) [37.84 km]: 40.77 ms
Testing download speed………………………………….
Download: 624.50 Mbits/s
Testing upload speed…………………………………………..
Upload: 75.94 Mbits/s

 

Testing from New Dream Network, LLC (64.111.112.229)…
Selecting best server based on ping…
Hosted by Fireline Broadband (Irvine, CA) [27.72 km]: 39.657 ms
Testing download speed………………………………….
Download: 382.79 Mbits/s
Testing upload speed…………………………………………..
Upload: 97.18 Mbits/s

 

Testing from New Dream Network, LLC (64.111.112.229)…
Selecting best server based on ping…
Hosted by Fireline Broadband (Irvine, CA) [27.72 km]: 35.048 ms
Testing download speed………………………………….
Download: 749.36 Mbits/s
Testing upload speed…………………………………………..
Upload: 79.82 Mbits/s

How to test server speed in your console/terminal

This is how!

wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
chmod +x speedtest-cli
./speedtest-cli

This are what results might look like

[root@stream4 ~]# ./speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Fundacao para a Ciencia e a Tecnologia (193.137.171.XX)...
Selecting best server based on ping...
Hosted by Vodafone PT (Porto) [56.28 km]: 12.239 ms
Testing download speed........................................
Download: 80.28 Mbit/s
Testing upload speed..................................................
Upload: 80.26 Mbit/s