Created on 16 June 2025, 11 days ago

Problem/Motivation

We are trying to purge only the home page so '/' and when we try that with the path option we get the error 'Exception while trying to invalidate the items: Path invalidations cannot start with slashes.'

Note that in CloudFront we can specific just '/' and that invalidates the home page correctly. Is there a way to do that with the module?

Steps to reproduce

Setup the module as per the documentation.

  1. Navigate to Configuration -> Development -> Performance
  2. Click 'Purge Invalidation Form'
  3. Select 'Type' of 'Path'
  4. Enter just / in the 'Item' textarea
  5. Click 'Purge'
  6. Confirm the error

Proposed resolution

Either allow forward slash or create a new type called 'Home page' or something that just sends a request to purge '/'

Remaining tasks

  1. Verify the bug and proposed solution.
  2. Add solution.
  3. Release new beta version

User interface changes

Potentially adding a new drop-down.

πŸ› Bug report
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dmundra Eugene, OR

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

Comments & Activities

Production build 0.71.5 2024