How to Speed Up My Magento Website?

zyhivan

Member
XNullUser
Joined
Aug 6, 2021
Messages
790
Reaction score
0
Points
16
NullCash
3,688
great module for import! Thank you so much! Thank you so much!
 

vasapupkin

New member
XNullUser
Joined
Feb 15, 2022
Messages
2
Reaction score
0
Points
1
NullCash
3
First what we do - is to disable any unused extensions, including core ones. Here is an example:
JSON:
    "replace": {
        "magento/module-dhl": "*",
        "magento/module-fedex": "*",
        "magento/module-marketplace": "*",
        "magento/module-persistent": "*",
        "magento/module-persistent-history": "*",
        "magento/module-catalog-rule-configurable": "*",
        "magento/module-google-adwords": "*",
        "magento/module-sample-data": "*",
        "magento/module-swagger": "*",
        "magento/module-swagger-webapi": "*",
        "magento/module-swagger-webapi-async": "*",
        "magento/module-google-optimizer": "*",
        "magento/module-braintree": "*",
        "magento/module-signifyd": "*",
        "magento/module-new-relic-reporting": "*",
    }
 

dteamturkey

Well-known member
Diamond
Elite
XNullUser
Joined
Feb 17, 2021
Messages
474
Reaction score
394
Points
63
NullCash
770
opcache + redis + nginx, optimized mysql, high ram.
 

Swordskill

New member
XNullUser
Joined
Apr 28, 2022
Messages
22
Reaction score
27
Points
3
NullCash
266
The key for fast magento is varnish if install you look different other cant help
 

drkdeath5000

Member
XNullUser
Joined
Apr 16, 2022
Messages
61
Reaction score
12
Points
8
NullCash
71
Dont overlook redis cache and session management can do wonders for magento. That and proper server optimisation caching php where necessary (opcache and full page cache) and finally a decent cdn provider.
 

zyhivan

Member
XNullUser
Joined
Aug 6, 2021
Messages
790
Reaction score
0
Points
16
NullCash
3,688
Thanks for sharing it, Thank you so much! Thank you so much!
 

zenobie

New member
XNullUser
Joined
Jun 16, 2022
Messages
6
Reaction score
0
Points
1
NullCash
9
I've used with success paid cloudflare, my site run up 45%
 

kepavi

New member
XNullUser
Joined
Jun 10, 2022
Messages
8
Reaction score
0
Points
1
NullCash
39
While CloudFlare certainly helps, the main issue with Magento is that it includes every single JS on every single page by default... Re-captcha login? Have it served in any page. Built in bundling sucks donkey balls too... Argento have a reasonably fast theme for Magento with custom bundling so it really shines combined with the CloudFlare/Fastly and ramps up to 91-95% for mobile Lightouse benchmark...
 

testingapps

Member
XNullUser
Joined
Jun 17, 2022
Messages
43
Reaction score
0
Points
6
NullCash
4
Uninstall unnecessary modules, use CDN, and GREAT news is the amazon cloudfront is free now!! At least the free tear is enough for most websites, they removed the free tear limit, it was free for 1 year before, but now there is not time limit, and the monthly data limit is enough for most normal websites. hope this help.
 

kepavi

New member
XNullUser
Joined
Jun 10, 2022
Messages
8
Reaction score
0
Points
1
NullCash
39
While free options of CloudFlare/Cloudfront are nice, you get way better application firewall, bot detection and so forth in paid packages... Much better DDoS protection and other bells and whistles... But then again its better than nothing
 

lzmlycdj

Member
XNullUser
Joined
Jun 21, 2022
Messages
34
Reaction score
0
Points
6
NullCash
14
good cdn
good server
manify css/js/html
compress image
Redis
 

Marc

Active member
XNullUser
Joined
Feb 27, 2021
Messages
530
Reaction score
40
Points
28
NullCash
86
Cloudflare is a service that acts as a reverse proxy between the website visitor and the server.

And Cloudfront is a pure content delivery network (CDN).

I used both and found that Cloudfront’s performance is great.
 

blackhawkdown

Member
XNullUser
Joined
Oct 20, 2021
Messages
142
Reaction score
0
Points
16
NullCash
2
I real a lot in these days saying skip varnish.
anyone using bult-in cache ? Thanks.
Post automatically merged:

What is the difference or is there any difference between them ?
Thanks.
 

doodles

Member
XNullUser
Joined
Aug 11, 2021
Messages
43
Reaction score
52
Points
18
NullCash
72
Give this a read

Also, make sure have it in production mode, aren't loading jquery/ui and use PHP 7.4 or 8.1. 8.0 in all my testing is slower than 7.4 by double

Forget VARNISH, go for Redis page and session. Cloudflare, minify and if you're really experienced get MagePack running
 

imiksaw

New member
XNullUser
Joined
Jun 29, 2021
Messages
14
Reaction score
0
Points
1
NullCash
4

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​

Yes you need to this and many more if you are using third party extensions too
 
Top