Skip to content

● Here are all the cache tags used in your codebase:

Tag Description
coffee_beans Parent tag for all coffee bean caches
coffee_beans_list Coffee beans list endpoint
coffee_beans_detail Coffee bean detail endpoint
coffee_beans_facets Facets/filters endpoint
coffee_bean_{id} Individual coffee bean
roasters Parent tag for roasters
roasters_list Roasters list
roasters_detail Roaster detail
roaster_{id} Individual roaster
countries Parent tag for countries
countries_list Countries list
countries_top Top countries
regions Parent tag for regions
regions_list Regions list
regions_top Top regions
varieties Parent tag for varieties
varieties_list Varieties list
varieties_top Top varieties
varieties_detail Variety detail
variety_{id} Individual variety
flavor_wheel Flavor wheel
flavor_wheel_nodes Flavor wheel nodes
verification Cache verification test

Common invalidation commands:

Invalidate facets only

php bin/console cache:pool:invalidate-tags coffee_beans_facets

Invalidate all coffee bean related caches

php bin/console cache:pool:invalidate-tags coffee_beans

Invalidate multiple specific tags

php bin/console cache:pool:invalidate-tags coffee_beans_facets coffee_beans_list