diff --git a/Makefile b/Makefile index 3fe1302f..b694feaf 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,11 @@ cr: warm: @vendor/bin/drush warmer:enqueue jsonapi --run-queue +## warm-images : Warm image styles. +.PHONY: warm-images +warm-images: + @vendor/bin/ddev drush image-style-warmer:warm-up + ## gi : Generate queued image styles. .PHONY: gi gi: diff --git a/README.md b/README.md index c7daf426..ffca66c8 100644 --- a/README.md +++ b/README.md @@ -142,6 +142,7 @@ make mm-on # maintenance mode on make mm-off # maintenance mode off make cr # clear caches make warm # warm caches +make warm-images # warm up image styles make gi # generate queued image styles make fis # flush all image styles make install # (re-)install Drupal (only available in development)