Skip to content

Performance: only add terms-of-service frontend script if the check is not passed yet#1047

Description

@ShGKme

How to use GitHub

  • Please use the 馃憤 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Feature request

Current process:

  1. App adds a frontend script
  2. Frontend makes an HTTP request to check for ToS being accepted

Proposal:

  1. Check for ToS on Backend
  2. Only add the frontend script if it is necessary

Result:

  • Removes an unnecessary script from the page which is actually needed only once per user
  • Removes HTTP request for a data that we could check in the first request

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions