Cache the generated social media image

Created on 3 July 2025, 11 days ago

Problem/Motivation

As noted on the project page, this module does not cache the generated result when generating images. This could impose significant overhead on popular sites.

Proposed resolution

Follow the pattern of module's like core's image module (specifically PathProcessorImageStyles.php), that implement a stream wrapper manager that acts as a path processor to watch for requests matching a specific pattern, checking for an existing file, and then generating an image only if one does not exist. We would also need to implement a way for a site admin to invalidate/clear out any existing images, for example if the style was reconfigured. Perhaps this could happen automatically if certain configuration changes are made in the settings form

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇨🇦Canada mandclu

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

Comments & Activities

Production build 0.71.5 2024