This is a guide to help you run some basic tests against your website using webpagetest.org, a free real browser synthetic testing agent.
While synthetic tests do not necessarily provide an accurate indication of how fast your site will be in the hands of your users, they can be useful to help you understand which items you can work on to the improve performance of individual pages. By focusing on key pages, you can improve the overall performance of your website.
Check out our set of recommended tests for help ensuring that you’ve covered all your bases.
Visit webpagetest.org and run a test against a sample page from your website. Run 5 tests with first and repeat views from a location which may be relevant to your users. This should give you a good picture of your origin’s performance without the benefits of section.io.
Visit your section.io portal and view the Change DNS settings. Also found under the Repository settings if you have not selected to use section.io’s hosted DNS offering.
You should see something like: www.website.com.c.section.io
Copy this as you will need it for the next step.
At the home screen of webpagetest, select the “Script” tab and enter a DNS reroute so that webpage test thinks the origin server for your website is at section.io.
You may also need to set webpagetest so that it ignores any SSL errors assuming you have a cert installed on your website which you have not yet installed on section.io.
Run another 5 tests with first and repeat views.
You should be able to see the section.io markers in the responses for the items. Select one of the webpagetest waterfalls and click on the response. The section.io id provides you with confirmation that the test has traversed the section.io platform.
Now you can modify your VCL in section.io platform and re run multiple tests for caching or modify the page to serve entirely HTTPS so you can take advantage of section.io’s HTTP/2 platform.
The cache hit headers will be apparent on the responses you see in webpagetest.
You can also then correlate the responses to your logs and metrics in section.io’s portal. Simply take a copy of the section.io ID for a particular response anc copy and paste it into the query frame in Kibana in section.io’s portal. This will provide you with detail for that particular request and how it was dealt with at the section.io platform.
This process can allow you to see the impact you can have on your website with section.io. As you progressively improve the configuration in section.io you should be able to see these changes reflected in your webpagetest results.
Once you have made your DNS change, these tests become even more simple as the script you entered will no longer be required.