Skip to main content
All CollectionsFeaturesService Usage Log
Cache API and Resource Usage
Cache API and Resource Usage
Updated over 9 months ago

In the Analytics panel, you can find data about your site's optimizations and cache purges/invalidations as well as pageviews and CDN bandwidth usage.

To see the information, you should go to Cache API and Resource Usage:

Cache API

The Cache API section is useful for tracking which events occur on a given day. This is mainly relevant for sites integrating manually via the API. There are four categories of events to keep an eye on

  • Optimizations. Note that these are the past optimization requests sent to our service, not the actual optimizations. In some cases, these requests may not result in successful optimizations. To view the current status of any page, use the Cache Insights panel;

  • Purge/Invalidate Requests. These are received requests for NitroPack to delete or invalidate the cache for a page;

  • Tag Create/Delete Requests. These requests are necessary for NitroPack to react to content changes on a website;

Use the date picker element above the usage chart if you want to choose a different date.

When you scroll down, you can see a detailed breakdown of all the events for the selected day.

For example, you can see when Purge/Invalidate requests occurred. Also, the “Reason” field indicates why the cache was purged/invalidated.

Manual URL and cache purges via the Dashboard are initiated by a user clicking on a purge button.

For example, if you click on the “Purge Cache” button in your NitroPack Dashboard, the Usage Log will show a “Purge/Invalidate” request with “Full purge via the Dashboard” as a reason.

You can also trigger manual cache purges from the Cache Insights panel by clicking on the three dots:

On the other hand, your site’s cache can be cleared automatically after events like adding new or changing existing content. These events result in reasons like “Reason: Updated Product...’.

Resource Usage

The Resource Usage section shows you how many pageviews and CDN bandwidth your website generated per day as well as which resources use the most CDN bandwidth.

Again, scroll down for a detailed breakdown of your daily resource usage or download the data in a .csv file.

Did this answer your question?