Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7985223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T11:29:51+00:00 2026-06-04T11:29:51+00:00

Some weeks ago Amazon announced that they have lowered the content expiration period: Amazon

  • 0

Some weeks ago Amazon announced that they have lowered the content expiration period:

Amazon CloudFront Lowers Minimum Content Expiration Period

So much that you can actually set now TTL in CloudFront to 0. So my question is, why could it be useful to have a CloudFront distribution with TTL set to 0. To me this means no caching at all so every request that gets to CloudFront will end up hitting the origin.

What am I missing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T11:29:53+00:00Added an answer on June 4, 2026 at 11:29 am

    This new feature of Amazon CloudFront is actually extremely useful for many use cases, because hitting the origin works a bit different than it looks at first sight and is not necessarily a problem, to the contrary; while this feature has been released earlier already, it all comes together with the recent release of Amazon CloudFront – Support for Dynamic Content, e.g. for the question at hand:

    Variable Time-To-Live (TTL) – In many cases, dynamic content is either
    not cacheable or cacheable for a very short period of time, perhaps
    just a few seconds. In the past, CloudFront’s minimum TTL was 60
    minutes since all content was considered static. The new minimum TTL
    value is 0 seconds. If you set the TTL for a particular origin to 0,
    CloudFront will still cache the content
    from that origin. It will then
    make a GET request with an If-Modified-Since header
    , thereby giving
    the origin a chance to signal that CloudFront can continue to use the
    cached content if it hasn’t changed at the origin
    . [emphasis mine]

    In other words, using a TTL of 0 primarily means, that CloudFront delegates the authority for cache control to the origin, i.e. the origin server decides whether or not, and if for how long CloudFront caches the objects; please note specifically, that a GET request with an If-Modified-Since header doesn’t necessarily mean that the object itself is retrieved from the origin, rather the origin can (and should) return the HTTP status code 304 – Not Modified where applicable:

    Indicates the resource has not been modified since last requested. […]
    Using this saves bandwidth and reprocessing on both the server and
    client, as only the header data must be sent and received
    in
    comparison to the entirety of the page being re-processed by the
    server, then sent again using more bandwidth of the server and client. [emphasis mine]

    See Mark Nottingham’s excellent Caching Tutorial for details on the mechanics and benefits of HTTP cache control, a really important and effective part of the HTTP architecture.

    Understanding how all these parts work together can be a bit difficult indeed, accordingly the table in section Specifying the Minimum Time that CloudFront Caches Objects for Download Distributions within Specifying How Long Objects Stay in a CloudFront Edge Cache (Object Expiration) attempts to summarize the effects when applied in the context of CloudFront with or without TTL = 0 specifically.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I saw couples of weeks ago some notes in adobe AIR website that they
Some weeks ago 2 of my sites have been exploited probably from an ftp
I have some bugs with Chrome. Since a few weeks ago the placeholders don't
I've started TDD some weeks ago. I have to do Unit Tests on a
i have a bit of code that i wrote a few weeks ago (the
I work in a python shell and some weeks ago I have defined a
I started to use IOS and the Graph Api some weeks ago. I have
A few weeks ago I started noticing that my VS displays some warnings twice.
I started using symfony a few weeks ago, and there are some things that
Some weeks ago I red about a script at github that will refresh a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.