Partial (re)Build - Adding files to netlify folder instead of regenerating everything

Partial rebuild of a static application

For ease of explaining I will simplify the problem a bit.

We have 200 blogs that are statically generated by a tool (CRA, next.js,… Could be anything really).

If we add 2 blogs, the entire application will build to generate a new output.

That is 200 pages (in multiple languages that are exactly the same as before) build unnecessary.

How could we just add these 2 pages to the output folder, without building the entire application again?

Kind regards


1 Like

At this time, there is no way to update only parts of a site. Behind the scenes we do detect files which haven’t changed and we do not modify those. Cached version of pages, for example, will still load from the browser cache if they don’t change between deploys.

But as far as uploading a partial list of files and adding those over or to the existing deploy (similar to an overlay filesystem) is not possible at this time.

If there are other questions about this, please let us know and we’ll be happy to answer.