Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Speed up Pages initialization time by using configuration API
### Description
Once the [Pages configuration API is in place](https://gitlab.com/gitlab-org/gitlab-ce/issues/61927) it will be necessary to update gitlab-pages to load its configuration from the API instead of the filesystem. This should be done in a way that will allow support for both implementations (API and config file) for a period of time. Shipping [two versions of the binary with Omnibus](https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/3098) has been considered as an approach.
This will bring the time of pages configuration update from `~30 minutes` to almost instant in gitlab.com, including:
1. time for the project to be visible for the first time
1. adding new domains
1. adding SSL certificates
### Proposal
This work has already started in [this MR](https://gitlab.com/gitlab-org/gitlab-pages/merge_requests/135), finishing up that work will complete this issue.
### Links / references
Related Epic: https://gitlab.com/groups/gitlab-org/-/epics/1316
issue