The Logs panel contains data about optimizations and cache purges/invalidations for your site. You can also find detailed information about a site’s daily pageviews and CDN bandwidth usage.
This data is accessible directly inside the Service Usage Log. You can also download it by clicking on “Download Log (.csv)”.
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;
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 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 Status 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’.
Or Updated Post ‘Post Name’
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.
Article is closed for comments.