All Collections
Features
Service Usage Log
Cache API and Resource Usage
Cache API and Resource Usage
Updated over a week 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 Status 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;

api-events.png

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

Calendar.png

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.

1_censored.png

Manual URL and full 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 small red icon next to each URL or the button at the top right.

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 “Invalidate related pages due to publishing Post ‘Blog Name’.

Cache_API_5.png

Or Updated Post ‘Post Name’

Cache_API_6.png

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.

resource-usage.png

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?