Cache rendered AMS arrays in darkswarm layout based on latest timestamps of rendered object classes

This commit is contained in:
Matt-Yorkley
2020-04-20 19:14:55 +02:00
parent 53ebe10483
commit 4d098448f5

View File

@@ -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