You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm planning on deprecating Tilt::Cache in the next release of tilt (2.2.0), as it isn't used internally, isn't thread safe, and doesn't add any real value (faster to use a plain hash). grape-rabl should either copy the Tilt::Cache implementation, or switch to using a plain hash, or if you really need API compatibility for the #fetch method:
There is now a PR addressing this: #55. It replaces Tilt::Cache with a synchronized Hash while retaining template/layout memoization, missing-layout caching, and format-specific keys. Focused tests cover operation without Tilt::Cache and concurrent cache population.
Activity
dblock commentedon Oct 26, 2026
There is now a PR addressing this: #55. It replaces Tilt::Cache with a synchronized Hash while retaining template/layout memoization, missing-layout caching, and format-specific keys. Focused tests cover operation without Tilt::Cache and concurrent cache population.
Posted by Copilot, an AI, on behalf of @dblock.