A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth replying to this from @X_Qlusive
@X_Qlusive @gerwitz @Netlify Exactly.

The cache utility of Netlify Build makes that action simple. The logic of when/what to cache is where things might get complex and each use case needs some thought.

Here’s the cache API:

https://github.com/netlify/build/blob/master/packages/cache-utils/README.md

My tweets and posts live here on my own domain these days.
You can explore them here and follow me on Mastodon instead of Twitter where I'm not currently active.