Allow to choose clear for current domain or for all environment related domains.

Created on 30 March 2023, over 1 year ago
Updated 27 June 2024, 6 months ago

Problem/Motivation

Currently, when we clear the varnish cache it's clearing the same domain we accessing with.
But in some cases, we have a configuration that blocks the admin routes on the public-facing domain and has a specific domain to allow access to admin, for example:

  • site.domain.com (open, does not allow access to the admin area)
  • edit.site.domain.com (VPN access only, allowing access to admin area)

I'm only allowed to clear the cache via the domain on the VPN access and that does not clear the cache for the open.

Proposed resolution

Add a checkbox option to trigger clear varnish to all domains related to that environment.

Remaining tasks

  • Add radios on the credential settings form and choose clear all or current domain.
  • Add a checkbox to log requests and responses.
  • Update code to that call for the clear to go through the list of domains on the environment and clear each one.

User interface changes


User interface changes:

API changes

No API Changes to the current functionality will be needed.

Data model changes

No Data model changes to the current functionality will be needed.

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡·Brazil aluzzardi Pelotas, RS

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024