Jump to content

Photo

Product page slowness


  • Please log in to reply
2 replies to this topic

#1 suat_suphi

suat_suphi

    Benutzer

  • Members
  • 25 posts

Posted 25 May 2023 - 10:39

Hi,

 

The image on the product page comes too late and causes the page to open too late. The live-demo version on Smarstore is old and starts up fast. I thought the problem was with my hosting, but I found the example on the following website. It also opens very slowly when working on the visual studio (product page)

 

Media storage > File System

 

https://nitrobilisim.com.tr/



#2 suat_suphi

suat_suphi

    Benutzer

  • Members
  • 25 posts

Posted 27 May 2023 - 10:01

The problem is as follows. When I disable this section, it opens very fast.

 

@* 
                        <!-- social share -->
                        <div sm-if="Model.ProductShareCode.HasValue()" class="pd-share d-flex justify-content-@(Model.ProductType == ProductType.GroupedProduct ? "start mt-4" : "center mt-3")">
                            @Html.Raw(Model.ProductShareCode)
                        </div>
 *@

 

note: script url is dead 

 

<script  async='async'  

 

In the example, the async feature of the script is not added.

 

if it is added, the page will load and there will be no waiting, even if the url does not work.



#3 stefanmueller

stefanmueller

    SmartStore AG

  • Administrators
  • 468 posts

Posted 07 June 2023 - 08:45

Hi Suat, please consider reporting that as a bug on our github, so it is tracked and worked on, Thank you. Greetings Stefan


  • suat_suphi likes this

Stefan