How to Speed Up My Magento Website?

Slurpator

New member
XNullUser
Joined
Apr 13, 2021
Messages
5
Reaction score
0
Points
1
NullCash
7
What methods do you use to speed up your site on magento 2?
 

aptget

Member
XNullUser
Joined
Apr 21, 2021
Messages
39
Reaction score
1
Points
8
NullCash
11
You need A strong server ( a good cpu+ at least 4 go ram) php7+ nginx and a cache software like varnish+ redis for the database. And spend some times tweaking mysql.
 

matsyll

Member
XNullUser
Joined
May 12, 2020
Messages
30
Reaction score
14
Points
8
NullCash
7
You need A strong server ( a good cpu+ at least 4 go ram) php7+ nginx and a cache software like varnish+ redis for the database. And spend some times tweaking mysql.
very good comment.
 

techtech

Member
XNullUser
Joined
Jan 13, 2021
Messages
152
Reaction score
4
Points
18
NullCash
15
you need to follow the magento community guides
 

xwolf

New member
XNullUser
Joined
Aug 27, 2021
Messages
16
Reaction score
1
Points
3
NullCash
11

1. Inspect every installed 3rd-party extension​

Magento 2 core is written by programming experts. There is not much room for improvement in the core code. That is normally not the case for extensions you can buy, or download for free. Some of them could really slow the site down.

You should perform a 3rd-party extensions audit. Turn every module on and off, clear caches, and see if it changes the site’s speed. Test all important page types, front page, category pages, product pages and checkout. If you turn off an extension and the site becomes faster – you have found an abuser. Contact this plugin’s vendor and let them know about the performance problem. Ask for a refund, write a review, and find an alternative if they don’t respond.

To turn off the extension you will need SSH access. Most hosting companies will allow you to access the server via SSH and will provide you with necessary credentials.

Once you are logged in issue this command to disable VendorName_PluginName plugin:

php bin/magento module:disable VendorName_PluginName
To turn it back on run:

php bin/magento module:enable VendorName_PluginName
To see what modules were disabled or enabled run this command:

php bin/magento module:status
The other way to disable an extension would be to simply delete it from app/code folder. You would need to follow it with this command:

php bin/magento setup:upgrade
If you want it back – just copy it to app/code and run the same command:

php bin/magento setup:upgrade
It is always good practice to delete unused extensions from the file system, they will just be an unnecessary security risk.

2. Choose the fastest hosting you can afford​



3. Turn Caching On​



4. Turn Production Mode On​




5. Never Use JS Bundling​



6. Enable CSS/JS Minification​



7. Use Built-in Cache, Skip Varnish​

 

marvelous.beat

New member
XNullUser
Joined
Dec 22, 2021
Messages
7
Reaction score
0
Points
1
NullCash
19
Could someone explain a little bit more about using internal cache or varnish? It seems like both could be an option, but which one is better?
 

Meguuu

Active member
Elite
Joined
Oct 8, 2021
Messages
179
Reaction score
299
Points
43
NullCash
3,016
The best way is using Varnish and warming up all page cache
 

ilias123

Member
XNullUser
Joined
Dec 25, 2021
Messages
45
Reaction score
0
Points
6
NullCash
2
I use apache2 with PHP-FPM + Cloudflare , 100% on GTmetrix
 

bahafed

Member
XNullUser
Joined
Jan 24, 2019
Messages
137
Reaction score
0
Points
16
NullCash
1
good cdn
good server
manify css/js/html
compress image
 
Top