Hi there!
We've had a number of our Prismic projects flagged for their API usage exceeding the new limits. We've spent some time over the last few weeks refactoring the way these projects work to reduce the number of API calls, and attempting to cache some of the more static data that we store in Prismic.
I've got 2 questions I'm hoping to get answered:
-
How are the "Asset" API calls calculated? When looking at the "Usage Dashboard" in prismic, and the underlying requests, I can see a field called "imgixCalls". This number appears to match up with our "Asset" API calls total. I'm curious how this is being calculated, and what constitutes an "Asset" call against the API. I wouldn't expect images uploaded to Prismic, and then eventually downloaded to the client's browser, to be counted as an API call, but it appears that they are.
-
We've implemented logging on one of our projects that records every request to Prismic's document API. We're finding that the daily totals on the "Usage Dashboard" are 5x - 10x higher than the actually number of requests that we're making. Is it possible to get a log of a 24-hour period from Prismic with all the recorded calls against the API so that we can find out why these numbers are so vastly different?
Thanks.