Tech

Tech

83 bookmarks
Custom sorting
Managing how long content stays in the cache (expiration) - Amazon CloudFront
Managing how long content stays in the cache (expiration) - Amazon CloudFront
In the following example, CloudFront caches the response for one hour (max-age=3600). If a request is made after this period, CloudFront serves the stale content while concurrently sending a request to the origin to revalidate and refresh the cached content. The stale content is served for up to 10 minutes (stale-while-revalidate=600) while the content is being revalidated.
In the following example, CloudFront caches the response for one hour (max-age=3600). If a request is made after this period, CloudFront serves the stale content while concurrently sending a request to the origin to revalidate and refresh the cached content. The stale content is served for up to 10 minutes (stale-while-revalidate=600) while the content is being revalidated.
·docs.aws.amazon.com·
Managing how long content stays in the cache (expiration) - Amazon CloudFront