Commit 02d5d33c authored by James Lopez's avatar James Lopez

Merge branch 'astoicescu-bust-gitlab-com-cache-for-billing-page' into 'master'

Bust cache for GL.com billing page

See merge request gitlab-org/gitlab!52174
parents 50b64375 c8e820dc
......@@ -42,10 +42,18 @@ class FetchSubscriptionPlansService
end
def cache_key
if Feature.enabled?(:subscription_plan_cache_key)
if @namespace_id.present?
"subscription-plan-#{@plan}-#{@namespace_id}"
else
"subscription-plan-#{@plan}"
end
else
if @namespace_id.present?
"subscription-plans-#{@plan}-#{@namespace_id}"
else
"subscription-plans-#{@plan}"
end
end
end
end
---
name: subscription_plan_cache_key
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/52174
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/299068
type: development
group: group::fulfillment
default_enabled: false
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment