In addition to preloading idea (of GET-eval-request) from #613 we could consider an exclusion entity identifier from URL, so it could be safely cached in the server response (e.g. link tag in HTML or link response header). To do so we could parametrise Flagr instance with cookie name to consider as an alternative (implicit) entity identifier provider to the server. Good questions are:
- should we mirror the missing-entity-id-in-POST-request semantics for no-cookie-and-no-query-parameter-situation? (probably yes)
- should we "generate"/"issue" (i.e. respond with
Set-Cookie) a new entity identifier for the request? (probably configurable via Flagr instance parametrisation)
- should we consider any kind of explicit cache control configuration for GET-eval-requests?
What are your thoughts?