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

Disable the query cache without workarounds #173

Merged
merged 1 commit into from
Aug 20, 2024
Merged

Conversation

djmb
Copy link
Collaborator

@djmb djmb commented May 1, 2024

Use the new dirties: false option to uncached to disable the query cache and avoid the messy workarounds.

Currently only available in Rails edge so this will need to wait for its release. Will be part of Solid Cache v1.0, which will drop support for Rails 7.1 and earlier.

@djmb djmb added the v1.0 label May 1, 2024
@djmb
Copy link
Collaborator Author

djmb commented May 1, 2024

Fixes #123

Use the new `dirties: false` option to `uncached` to disable the query
cache and avoid the messy workarounds.

Currently only available in Rails edge so this will need to wait for its
release. Will be part of Solid Cache v1.0, which will drop support for
Rails 7.1 and earlier.
@djmb djmb force-pushed the query-cache-free-queries branch from 6db79fe to 97ed255 Compare August 13, 2024 14:33
@djmb djmb merged commit 079f1c3 into main Aug 20, 2024
19 checks passed
@djmb djmb deleted the query-cache-free-queries branch August 20, 2024 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant