You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when entering productDetail page from product's page, it freezes 2-3seconds (for my device) then enters details.page and then starts loading product.prices and product.tags. However, it happen's once for that specific product page. If I change product category, page refreshes products, and if I press any product on that page it freezes then goes to details.... (only once)
So in short, it doesn't immediately redirect to the details page.
Possible reasons:
It doesn't redirect back to a product from the details page until all requests are served in details.page (it does redirect, but the requests still run in background, dont get terminated)
Initial loading of details and product page takes 15-30 seconds (3-5mb each file) for the first time. (with tm speed 5mb loads in 20-30 seconds)
It loads translations for every page change (0.7-1~2 seconds)
Possible solutions:
1st:
start showing some part of the page, until other requests are going (it was on next.js course)
search inet how to load the page immediately for on time (is it also one time, or for opening website)
how to keep previous page already prepared? so that not to load again..?
2nd:
learn to prioritization of requests;
don't keep previous requests if page changes. (or keep if no other reqs), i.e sort requests?
3rd:
remove react-fa icons (4mb) and use mui-icons; for tiktok icon: [https://stackoverflow.com/questions/72728463/does-mui-have-a-tiktok-icon]
The text was updated successfully, but these errors were encountered:
Issue:
when entering productDetail page from product's page, it freezes 2-3seconds (for my device) then enters details.page and then starts loading product.prices and product.tags. However, it happen's once for that specific product page. If I change product category, page refreshes products, and if I press any product on that page it freezes then goes to details.... (only once)
So in short, it doesn't immediately redirect to the details page.
Possible reasons:
Possible solutions:
1st:
2nd:
3rd:
react-fa
icons (4mb) and usemui-icons
; fortiktok
icon: [https://stackoverflow.com/questions/72728463/does-mui-have-a-tiktok-icon]The text was updated successfully, but these errors were encountered: