Jump to content

Prestashop is very slow (SOLVED)


vamik

Recommended Posts

Hi, lately we have a very slow Prestashop. You can see it well on adding a product to the cart. Admnistration is fast. We have tried everything. Any ideas on how to solve this? Thanks.

https://www.smatab.cz

Prestashop 1.7.5.1


PHP version: 7.1.33

Memory limit: 1024M

Max Execution Time: 90

Max upload file size: 512M 

Edited by vamik (see edit history)
Link to comment
Share on other sites

@vamik

Is your site running under shared hosting or vps or dedicated server.  

Secondly, did you enable the cache from performance and also compress js and css.

Thirdly, use less image or compress image using tinypng or any image compress site or module. 

I have investigate your product page it show 5.7 MB resources in google chrome console. So this is a big factor for load.

 

lazy load use for image prevent view point out site image to load. Which increase site.

Hope you got a clear idea.

 

Thank you

Link to comment
Share on other sites

5 hours ago, SmartDataSoft said:

@vamik

Is your site running under shared hosting or vps or dedicated server.  

Secondly, did you enable the cache from performance and also compress js and css.

Thirdly, use less image or compress image using tinypng or any image compress site or module. 

I have investigate your product page it show 5.7 MB resources in google chrome console. So this is a big factor for load.

 

lazy load use for image prevent view point out site image to load. Which increase site.

Hope you got a clear idea.

 

Thank you

Thx for the answer.

 

Yes, we have CSS and JS compression enabled. Images are also optimized via tinypng. I think the hosting is pretty powerful.

There are two languages on the website (en and sk). The /cs and /sk mutation slows it down the most, as you can see in the console. I can't think why?

comp.jpg

konz.jpg

Link to comment
Share on other sites

4 hours ago, vamik said:

Thx for the answer.

 

Yes, we have CSS and JS compression enabled. Images are also optimized via tinypng. I think the hosting is pretty powerful.

There are two languages on the website (en and sk). The /cs and /sk mutation slows it down the most, as you can see in the console. I can't think why?

comp.jpg

konz.jpg

 

to check if CCC  of css/js is good idea.

 

visit your index/category/product pages,  view each page source and  see if they all have the same CCC js/css names.  if they do not then don't use CCC, ensure you have proper mod_expires set up so no refetch  of .css .js when already been downloaded.

note if .css CCC has different file names we wrote module to fix (note 1.7 supports one ccc of .js/.css but  breaks when theme/modules loaded...doh!

https://addons.prestashop.com/en/website-performance/50624-front-end-css-performance-one-css-ccc-all-shop-pages.html

Link to comment
Share on other sites

  • 4 weeks later...

Is there anything to be gleaned from this?

 

Load Time	8167 ms - You'd better run your shop on a toaster
Querying Time	7485 ms
Queries	2043
Memory Peak Usage	33.3 Mb
Included Files	486 files - 7.11 Mb
PrestaShop Cache	- Mb
Global vars	0.13 Mb
PrestaShop Version	1.7.5.1
PHP Version	7.1.33 (OK)
MySQL Version	5.6.14 (OK)
Memory Limit	1024M
Max Execution Time	90s
Smarty Cache	enabled
Smarty Compilation	auto
 	Time	Cumulated Time	Memory Usage	Memory Peak Usage
config 	51 ms 	51 ms 	2.54 Mb 	2.61 Mb
__construct 	5 ms 	56 ms 	0.08 Mb 	2.62 Mb
init 	29 ms 	85 ms 	1.20 Mb 	3.85 Mb
checkAccess 	0 ms 	85 ms 	- Mb 	3.85 Mb
setMedia 	28 ms 	112 ms 	0.57 Mb 	4.86 Mb
postProcess 	0 ms 	112 ms 	- Mb 	4.86 Mb
initHeader 	69 ms 	181 ms 	0.59 Mb 	5.32 Mb
initContent 	7523 ms 	7705 ms 	24.78 Mb 	31.96 Mb
initFooter 	0 ms 	7705 ms 	- Mb 	31.96 Mb
display 	463 ms 	8167 ms 	2.98 Mb 	33.30 Mb

 

Link to comment
Share on other sites

@vamik


Try to disable those module which you do not use. Always try to use less module. Normally, in PrestaShop for home page 3-4 module need to use like slider , product, newsletter etc. Where all this module can eliminate using a good module like crazy element and same module can use whole site. Which save time and also load time.


Thank you

  • Like 1
Link to comment
Share on other sites

  • vamik changed the title to Prestashop is very slow (SOLVED)
  • 1 year later...
On 12/10/2023 at 9:06 AM, SANDU said:

hello guys,

is it OK to ask for someone's support here concerning website being lazy?

I might not be the smartest in IT, but I am trying to be an DYI guy here.

Please advise?

my webshop is www.offroad.md

you should open a new topic, posting on old thread is like bird flying through the air, it leaves no trace

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...