-
Couldn't load subscription status.
- Fork 1.5k
Description
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
This is the call ob webp content
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