Skip to content

Conversation

LandonSchropp
Copy link
Contributor

Description

This adds the Gatsby cache to the plugin. When pages are fetched, we first check to see if the page content has been cached. If so, the content is returned directly from the cache.

Motivation and Context

This dramatically speeds up build times. In my project, my build went from 79 seconds to 13 seconds.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Security fix (non-breaking change which fixes a security issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as
    expected)
This adds the Gatsby cache to the plugin. When pages are fetched, we first check to see if the page content has been cached. If so, the content is returned directly from the cache.
@LandonSchropp LandonSchropp requested a review from orlowdev as a code owner April 19, 2022 04:44
@LandonSchropp
Copy link
Contributor Author

@orlowdev Hey, I wanted to bump on this and see if you had a chance to look at it yet. This drastically improved performance for me. 🙂

@orlowdev orlowdev merged commit 10a7880 into orlowdev:main May 4, 2022
@orlowdev
Copy link
Owner

orlowdev commented May 4, 2022

Thanks! Sorry for the delay!

@LandonSchropp
Copy link
Contributor Author

No worries. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants