Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set cache tag header only if exist #14

Closed
wants to merge 1 commit into from

Conversation

harryqt
Copy link

@harryqt harryqt commented Mar 30, 2024

Cache-Tags header was appending even when no cache tags specified. This PR fixes it.

Now, the header only gets added if any cache tags are specified.

@mertasan
Copy link
Member

Hey Harry,

Thanks for taking the time to do this!

However, it is necessary because the related lines merge the cache tags in the grouped cache routes.

@mertasan mertasan closed this Mar 30, 2024
@harryqt harryqt deleted the fix-cache-tags branch March 30, 2024 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants