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

Filter ignored tags on Cache object #67

Merged

Conversation

RobinHoutevelts
Copy link
Contributor

Documentation

In wmcontroller_redis 2.0 we use the cachetagchecksum system to determine staleness of cache items.
This breaks when the checksum is based on cachetags that should be ignored.

This PR makes sure we only keep the relevant cachetags on the stored cache objects.


I also noticed we cache items even when wm-s-maxage is set to zero.
The cached items are immediately expired, so we shouldn't bother caching it at all in that case.

And don't cache expired items
@RobinHoutevelts RobinHoutevelts merged commit c881e53 into release/v1 Apr 19, 2024
@RobinHoutevelts RobinHoutevelts deleted the filter-tags-and-avoid-caching-expired-items branch April 19, 2024 14:00
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.

1 participant