When the end user make request for content Cloud Front uses the nearest edge location to provide it to the user. If the requested content is already cached in the edge location, then it is immediately served reducing latency for end user. Content is cached at the edge location based on the Time-to-Live (TTL).