Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[BUG]webp thumbnails handling in Pimcore delaying TTFB  #4557

@plexmaniax

Description

@plexmaniax

Pimcore needs about 5 times longer to provide a contentpage with webp thumbnails, as they with jpeg thumbnails.

Tested on different webserver and local in Docker.
I created a static page with webp content, the TTFB was great.
I thought Pimcore generates the thumb on every new call, but that isnt`t.

I created 2 content pages with the same pictures. The first site with jpg for picture icons, the second one with webp for picture icons.

This is the call on jpg content

jpeg_wasserfall_gesamt

This is the call ob webp content

webp_wasserfall_gesamt

Both sites has exactly the same content and both of them are using the same originals.

Maybe there are lots of internal checks before pimcore provides webp thumbs, but why this happen? I`m not a devloper but maybe you could find the problem in these lines

https://github.com/pimcore/pimcore/blob/master/models/Asset/Image/Thumbnail.php#L483

Thanks for support

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions