diff --git a/app/views/layouts/darkswarm.html.haml b/app/views/layouts/darkswarm.html.haml index fa42b8f745..d080be45dd 100644 --- a/app/views/layouts/darkswarm.html.haml +++ b/app/views/layouts/darkswarm.html.haml @@ -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