What is difference between Restage and Restart in PCF

Vijai picture Vijai · May 22, 2018 · Viewed 10.3k times · Source

What is difference between Restage and Restart your application in Pivotal Cloud Foundary and when to pick one among this?

Answer

Thomas picture Thomas · May 22, 2018

The documentation does a good job of explaining this.

Restart

Restarting your application stops your application and restarts it with the already compiled droplet.

So if you haven't made any changes and don't need to re-compile the project, a Restart should be done.

Restage

Restaging your application stops your application and restages it, by compiling a new droplet and starting it.

Restaging your app compiles a new droplet from your app without updating your app source. If you must update your app source, re-push your app.

Differences

The difference between the two is that Restart won't re-compile the project while Restage does.