Skip to content

Interview, slow loading on proceed when a lot of conditional pages are skipped. #1191

@MyPyDavid

Description

@MyPyDavid

Description / Beschreibung

A certain checkbox question has many different conditional pages depending on they whether are selected or not.
When none are selected and proceed is clicked, the loading of the next page is slow because the user gets redirected many times over the skipped pages (303 at /api/v1/projects/projects/1/pages/20/ ).

Could this be addressed in the newly developed interview in React?
Can it already be optimized in the backend, so that the user gets sent only the last relevant redirect?

Expected behaviour / Erwartetes Verhalten

Click next in interview and have a reasonable response time.

Steps to reproduce / Schritte zum Reproduzieren

  1. Go to a question with a lot checkboxes that are related to conditional pages
  2. Uncheck all of them and click proceed
  3. See a lot of 303 for the skipped pages

Context / Kontext

2.2.2.

References / Verweise

ProjectPageViewSet in

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions