Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use page version's
updated_at
timestamp as cache key
Currently, it's hard for us to invalidate caches for Alchemy pages when content that's referenced through ingredients with related objects changes. For example, in a situation where a user combines Alchemy and Solidus using the `alchemy_solidus` gem, a page's cache key does not update when a product that's referenced through a SpreeProduct ingredient changes. There's a PR up on the alchemy_solidus gem that touches ingredients in these situations, and with this change, that touching can be used for breaking caches. [1] [1](AlchemyCMS/alchemy-solidus#108)
- Loading branch information