How does CloudFront count HTTP/HTTPS requests?


Assume is using a CloudFront distribution and one of its pages is:

When each time the page is accessed, these files are also loaded because they are part of the page:

<link href="" rel="icon">
<link href="" rel="stylesheet">
<script src=""></script>
<img src="">

Will it be 1 (html, or a URL: or 5 (html + ico + css + js + jpg) as HTTP/HTTPS requests counted by CloudFront?

asked a month ago167 views
1 Answer
Accepted Answer

When a page like is accessed, and it includes additional resources such as a favicon, CSS, JavaScript, and images, each of these resources is requested separately by the browser. Therefore, in the scenario you described, there would be a total of 5 HTTP/HTTPS requests made to the CloudFront distribution:

  1. (HTML page)
  2. (Favicon)
  3. (CSS stylesheet)
  4. (JavaScript file)
  5. (Image)

Each of these requests is counted separately by CloudFront. So, in this case, CloudFront would count 5 requests. This is important to consider for monitoring, billing, and performance optimization purposes.


To monitor the number of requests made by your website, you can use the Request Checker, which tracks the total number of requests made.

profile picture
answered a month ago
profile picture
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions