Skip to content

Conversation

@marvinjude
Copy link
Contributor

@marvinjude marvinjude commented Jan 20, 2022

Description

Adds trailing slash option to plugin hashes so a new hash gets created when trailingslash option changes. This ensures that we're creating new cache content when trailingSlash option changes without explicitly needing to do a gatsby clean

Documentation

Related Issues

[sc-44577]

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jan 20, 2022
@marvinjude marvinjude added type: feature or enhancement Issue that is not a bug and requests the addition of a new feature or enhancement. and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Jan 20, 2022
@marvinjude marvinjude changed the title clear cache when trailing slash option changes feat(gatsby): clear cache when trailing slash option changes Jan 20, 2022
@marvinjude marvinjude added this to the Trailing Slash milestone Jan 20, 2022
Copy link
Contributor

@wardpeet wardpeet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you! 💪

Hopefully tests are going to be green.

@LekoArts LekoArts merged commit 159969b into trailing-slash Jan 24, 2022
@LekoArts LekoArts deleted the clear-cache-when-trailing-slash-option-is-changed branch January 24, 2022 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature or enhancement Issue that is not a bug and requests the addition of a new feature or enhancement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants