cancel
Showing results for 
Search instead for 
Did you mean: 

Increase magento 2 sites page speed minimising css and js make the site down

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Increase magento 2 sites page speed minimising css and js make the site down

hai,

 

I need to increase my site's speed..so using some references i have minimised the css and js but it makes the site down..

Can anyone give the solution..

3 REPLIES 3

Re: Increase magento 2 sites page speed minimising css and js make the site down

could you please check system.log from var/log folder and if any report ticket is generated then please check from folder var/report and edit report id to debug your issue.

 

 

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: Increase magento 2 sites page speed minimising css and js make the site down

Hello @sujithathanga

 

Make sure below thing

1) production mode

2) di compile

3) disable js bundle

 

Hope it will help you.


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Increase magento 2 sites page speed minimising css and js make the site down

Hello @sujithathanga

 

After compressing JS and CSS, you might need to run the commands deployment commands again. 

 

Can you please run below commands and check the site again? 

 

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento cache:flush

 

Also, if you can share the error details then it will help to understand things well. 

 

--

If you've found my answer useful, please give "Kudos" or "Accept as Solution".