Add caching of encoded image

Created on 31 January 2025, 3 months ago

Problem/Motivation

Currently, the image is re-encoded during every request. Depending on the amount of images displayed on the page, this can have a big performance impact.

Proposed resolution

Let's cache these encoded images somewhere, database or filesystem. We I think database would be faster.
The cache key could be the image URI. Invalidation of that cache could be difficult that way though. It would be easier if the cache key were a file ID. That way we could also attach file entity cache tags and invalidation would be taken care of.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024