Allow to "alter" warmup.

Created on 23 November 2020, about 4 years ago
Updated 28 January 2023, almost 2 years ago

Problem/Motivation

It would be great to be able to interface with warmup to allow further logic for the warmup process.
My specific case would be to skip warmup of SVG images.
Similar issues might be:
https://www.drupal.org/project/image_style_warmer/issues/3183535
https://www.drupal.org/project/image_style_warmer/issues/3136880

Proposed resolution

Implement a warmup event which allows to skip the warmup and / or adjust the image styles used.
The event is fired before queuing and / or before executing the warmup and allows to skip the processing and / or the adjust the image styles used.

Remaining tasks

Reviews needed.

API changes

Addition of event image_style_warmer.warmup.

Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

🇨🇭Switzerland das-peter

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024