Digital Garden Home

Caching in GitHub Actions

Use case - Caching Jamstack Sites

For example, I joined Jason on his livestream to discuss how to use this to cache build assets between builds. The end result was a Gatsby site that initally takes around 3 minutes to build from scratch was reduced down to under 30 seconds. This is beneficial as on image-heavy sites, you won't need to rebuild all of them on every build.

for an archive of our stream, take a look below:

To learn more about what we did and resources / code, visit Jason's site for the episode at lwj.dev