rails / solid_cache

A database-backed ActiveSupport::Cache::Store
MIT License
890 stars 63 forks source link

Disable the query cache without workarounds #173

Closed djmb closed 3 months ago

djmb commented 7 months ago

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 commented 7 months ago

Fixes https://github.com/rails/solid_cache/issues/123