Skip to content

Add cache to gitlab/internal/pages endpoint

Kassio Borges requested to merge kassio/cache-pages-internal-api into master

What does this MR do and why?

Add cache to the api/internal/pages endpoint results. This is the first iteration for the solution, in this MR we introduce:

  • Cache creation and usage (behind a feature flag)
  • Cache invalidation with the Pages deployed event

The Pages deployed event will be introduced in a standalone => MR !89160 (merged) (This MR currently have both commits for tests purposes)

Other events that might invalidate the cache will be introduced later in following MRs.

Related to: #363867 (closed)

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Kassio Borges

Merge request reports

Loading