Cache Kirby API Response?

Hello, I’m wondering if it’s possible to cache data from Kirby’s own API.

I’m using Kirby as a headless CMS for a single page application, querying the data from my frontend.

I run into a speed issue when calling $image->asset()->ratio() for ~200 images. Is it possible to cache a response so Kirby doesn’t need run through this calculation for every visitor?