the-programmers-hangout / website

🌳 TPH website
https://theprogrammershangout.com
MIT License
102 stars 67 forks source link

Migrate to incremental builds #237

Closed khinshankhan closed 2 years ago

khinshankhan commented 4 years ago

Gatsby released incremental builds recently. This should help deployment as there is a netlify plugin, and many of the pull requests here tend not to need a full-on cache clear (as far as I can tell, may be entirely wrong, feel free to correct me).

As a side note, having the netlify.toml in the repository would also add to the transparency of the project 👍

nikkhielseath commented 3 years ago

May I please have this one?

Xetera commented 3 years ago

sure

SagnikPradhan commented 3 years ago

@SNikhill Are you still working on it?

nikkhielseath commented 2 years ago

@Xetera

The website is using gatsby 3.14.1. Referring to the Change Logs, incremental builds are enabled by default.

I am just adding the netlify gatsby cache plugin to the netlify.toml to make Netlify support the same.

nikkhielseath commented 2 years ago

@SNikhill Are you still working on it?

Sorry, I was previously unresponsive but, yes I am.

nikkhielseath commented 2 years ago

Pull Request: #434

nikkhielseath commented 2 years ago

By the way, would you also like to shift to Gatsby v4? It has some improvements to the build process thereby reducing build time even further.

nikkhielseath commented 2 years ago

@Xetera

This issue is now safe to close. The PR has been merged. :)