Resetting the cache of your Amazon Lightsail distribution
Last updated: July 23, 2020
The cache lifespan (time to live) setting controls the amount of time your content stays in your Amazon Lightsail distribution's cache. You can also manually reset the cache on your distribution if you need to clear it before the cache lifespan interval. After you clear the cache, the next time a user requests content, your distribution pulls the latest version of your content from your origin and caches it. In this guide, we show you how to manually reset the cache on your distribution. For more information about distributions, see Content delivery network distributions in Amazon Lightsail.
Reset the cache of your distribution
Complete the following procedure to reset the cache of your distribution.
Sign in to the Lightsail console.
On the Lightsail home page, choose the Networking tab.
Choose the name of the distribution for which you want to reset the cache.
Choose the Cache tab on your distribution's management page.
Scroll to the Reset cache section of the page, and choose Reset cache.
At the confirmation prompt, choose Yes, reset to confirm that you want to reset your distribution's cache. Or choose No, cancel to not reset your distribution's cache.
Here are some articles to help you manage distributions in Lightsail: