After integrating your website with bunny.net, it's crucial to ensure everything is configured correctly for optimal performance and delivery. This article provides a few tips on how you can check if bunny.net is working correctly and test how your website performance improved around the world.
Checking your website network waterfall and source code
After setting up bunny.net, you will want to check if your website is configured correctly, especially if you are using a third party plugin or such as WordPress.
The first thing you will need to do is open your website in your web browser and press Ctrl + Shift + I on your keyboard. This will open up the developer tools.
Now you will want to click on the Network tab (1) and then Img (2) and refresh your website.
If everything went right, you will see a list of requests to image files on your website as illustrated in the image above.
By hovering over a specific request, you will get the URL of the image. To check if the images were served from bunny.net, pay attention to the hostname they were served from as illustrated by point (3). If the images were served from the hostname you have configured in your bunny.net account, such as bunnycdn.b-cdn.net, this means that the website is successfully integrated with bunny.net and serving data from it.
You can do the same if you open up the source code of your website by pressing Ctrl + U. This will open up the code used to render your page, and you can check there if the URLs to static files, such as images, CSS and JavaScript files are using the correct bunny.net hostname.
Checking your bunny.net statistics page and cache hit rate
Another simple way to test if bunny.net is serving your data is to open the Statistics page in your bunny.net dashboard. Go to Monitoring -> Statistics.
If you see traffic and requests there, it's a positive sign that bunny.net is delivering traffic for your website.
Another important thing to note here is the cache hit rate at the bottom of the statistics page. A cache hit rate below 50%, particularly with decent traffic, suggests configuration issues, and we would strongly suggest having a look at our cache hit rate troubleshooting article.
Checking your website with one of the performance testing tools
After ensuring correct setup, you can have some fun seeing how fast your website is performing and how to further improve your performance. We've created a list of three easy to use performance testing tools that you can use. Additionally, remember to:
- Perform multiple tests, especially if you've recently created a new zone, to allow bunny.net sufficient time to cache your website.
- Note any errors or slow performance may indicate unresolved issues. For more information, see our list of troubleshooting articles.