Testing your Amazon Lightsail distribution
Last updated: July 23, 2020
In this guide, we show you how to test that your Amazon Lightsail distribution is caching and serving content from your origin. You should perform this test after you add your registered domain name to your distribution. For more information about distributions, see Content delivery network distributions in Amazon Lightsail.
Test your distribution
Complete the following procedure to test your distribution. We use the Chrome web browser in this procedure; other browsers may use similar steps.
Open the Chrome web browser.
Open the Chrome Menu in the upper-right-hand corner of the browser window and select More Tools > Developer Tools.
You can also use the shortcut Option + ⌘ + J (on macOS), or Shift + CTRL + J (on Windows/Linux).
In the developer tools pane, choose the Network tab.
Browse to the domain of your distribution (e.g.,
https://www.example.com
).The Network tab of the Chrome developer tools should will populate with a list of objects from your website.
Choose a static object, such as an image file (.jpg, .png, .gif).
In the Header panel that appears, you should see that the
via
andx-cache
headers both mention CloudFront. This confirms that your distribution is caching and serving content from your origin. your
Additional information
Here are some articles to help you manage distributions in Lightsail:
Understanding request and response behaviors of an Amazon Lightsail distribution
Configuring your WordPress instance to work with your Amazon Lightsail distribution
Changing the caching behavior of your Amazon Lightsail distribution
Enabling custom domains for your Amazon Lightsail distributions
Pointing your domains to your Amazon Lightsail distributions
Changing custom domains for your Amazon Lightsail distribution
Disabling custom domains for your Amazon Lightsail distributions
Creating SSL/TLS certificates for your Amazon Lightsail distribution
Validating SSL/TLS certificates for your Amazon Lightsail distribution
Viewing SSL/TLS certificates for your Amazon Lightsail distribution
Deleting SSL/TLS certificates for your Amazon Lightsail distribution