javascript – best practice – save values in client, or send them with request to be retrieve back with server response

This is a web development general question.

Say there is a server function doSomething(). Function can be called when first time page loads, or any other time triggered by the user.

While loading, handling the response includes extra activities.

The question is whether to sent with the request firstTimeIndicator, that will be returned by the server or store this indicator in the client, and read it when processing the response.