Skip to content

Write a warning when the AdaptiveImageServlet is not using an already eixsting renditions #2490

Open
@joerghoh

Description

@joerghoh

Feature Request

The creation of custom renditions on-the-fly can be a major problem, especially when it is operating on large asserts. It can lead to high memory consumption, leading to massive garbage collection and even to service outages, when the JVM is throwing an OutOfMemory exception.

For that reason it is recommended to have all required dimensions as renditions (using processing profiles). In that case the AdaptiveImageServlet does not need to resize the image, but just delivers an existing rendition.

To identify such cases there should be a WARN message whenever the AdaptiveImageServlet resizes an image on-the-fly, it should be similar to this one: Adobe-Consulting-Services/acs-aem-commons#3097

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions