diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-05-16 21:34:16 +0200 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2016-05-16 21:34:16 +0200 |
commit | 23b6a9c0fcb8992e18450d6fe0680bf09685b7db (patch) | |
tree | 6d04277ef922685b87a7621c6bcb503b2a866962 /guides/source/contributing_to_ruby_on_rails.md | |
parent | 8fffee4b1cd7f742edb267d72f4007d0ed4c594b (diff) | |
download | rails-23b6a9c0fcb8992e18450d6fe0680bf09685b7db.tar.gz rails-23b6a9c0fcb8992e18450d6fe0680bf09685b7db.tar.bz2 rails-23b6a9c0fcb8992e18450d6fe0680bf09685b7db.zip |
Replace middleware with executor callback.
Per request digest caches were added before we had hooks into
different units of work that Rails performs.
As such the most reliable way to prevent stale cache digests
was with a middleware. The middleware prevented staleness in
Action Controller requests.
However, the executor is superior because it should also prevent
staleness when running just Active Job jobs or broadcasting
through Action Cable's server.
Diffstat (limited to 'guides/source/contributing_to_ruby_on_rails.md')
0 files changed, 0 insertions, 0 deletions