Docs
First-party requests

First-party Requests

In the Realtime Carbon Footprint feature, we provide detailed information about first-party requests made by your website, which are requests for resources hosted on your own server. This information helps you better understand your website's environmental impact and identify areas for optimization.

Statsy Dashboard
Statsy Dashboard

Displayed Information

For each first-party request, we display the following information:

  • Resource URL: The URL of the requested resource.
  • Resource Type (MIME): The MIME type of the requested resource (e.g., text/html, image/jpeg, application/javascript).
  • Total Requests: The total number of requests made for the specific resource.
  • Cache Ratio: The percentage of requests served from the local browser cache, indicating the efficiency of your website's caching strategy.
  • Transfer Size: The size of the data transferred for the specific resource.
  • Carbon Footprint: The estimated carbon footprint of the resource based on the data transferred and the user's country of origin.

Filtering by File Type

To help you focus on specific types of resources, you can filter the first-party requests by file type. This allows you to analyze the impact of particular resource types on your website's carbon footprint and identify opportunities for improvement.

Breakdown by Resource Type

In addition to the detailed data for each first-party request, we also provide a breakdown of the carbon footprint and transfer size by resource type. This overview helps you quickly identify which types of resources contribute the most to your website's environmental impact and prioritize optimization efforts accordingly.

By understanding and monitoring the carbon footprint of your first-party requests, you can make informed decisions about optimizing your website's performance and sustainability. This, in turn, helps you reduce your website's impact on the environment while providing a better user experience for your visitors.