mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Cache rendered AMS arrays in darkswarm layout based on latest timestamps of rendered object classes
This commit is contained in:
@@ -48,8 +48,10 @@
|
||||
= inject_current_hub
|
||||
= inject_current_user
|
||||
= inject_rails_flash
|
||||
= inject_taxons
|
||||
= inject_properties
|
||||
- cache "inject-all-taxons-#{CacheService.latest_timestamp_by_class(Spree::Taxon)}" do
|
||||
= inject_taxons
|
||||
- cache "inject-all-properties-#{CacheService.latest_timestamp_by_class(Spree::Property)}" do
|
||||
= inject_properties
|
||||
= inject_current_order
|
||||
= inject_currency_config
|
||||
= yield :injection_data
|
||||
|
||||
Reference in New Issue
Block a user