Thumbnail generation on img/tmp (product_mini_xxx) take about 5sec every image slowing down products page in backoffice #36179
Replies: 2 comments
-
Analyzing this problem more deeply, why does the product list page have to keep execution blocked until the thumbs are generated? These should eventually be loaded via ajax once available. Here ps load the image on the BO template: src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/Lists/list.html.twig
But the problem is related in the generation process not in the view that show the image on BO. |
Beta Was this translation helpful? Give feedback.
-
Hi, I think it can be framed more as a bug than a discussion, my local hardware is really performing, intel i9 12900KF + 32 GB ram + SSD, this image generation process should be lightning fast and definitely NOT block the back office loading. However, I would like to hear someone's opinion on this. |
Beta Was this translation helpful? Give feedback.
-
Prerequisites
Describe the bug and add attachments
product_mini generatio accessing product backoffice page take an extreme amount of time on a 2TB SSD Samsung 980 Pro with 12 core cpu and wampp local setup.
Expected behavior
thumb generator must not slow down the store
Steps to reproduce
Delete img/tmp folder
Open admin product page and search for some query to get for example 10 result
Page load for about 40 seconds before load.
Submit again the same query, page load take about 2 seconds.
Try to delete some product_mini image generated in img/tmp and reload again the products search page submitting the query.
product_mini image are generated 1 every 5 seconds.
PrestaShop version(s) where the bug happened
1.7.8.10
PHP version(s) where the bug happened
7.4
If your bug is related to a module, specify its name and its version
No response
Your company or customer's name goes here (if applicable).
No response
With image just generated in img/tmp:
Deleting 4 over 16 img:
Beta Was this translation helpful? Give feedback.
All reactions