Questions tagged [optimization]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
4k views

How do i remove unused css from magento 2 homepage?

I am not getting good performance when i audit my website with chroome lighthouse. I am getting few errors like - Remove unused CSS - Ensure Text Remain Visible during web front load - Minimize main ...
0
votes
1answer
32 views

Magento 2: Different servers shows different TTFB for same project

I have the same project copy on two different servers and both the server shows different TTFB. On one server TTFB is 25ms & on another server it is 3s. Are there any server variables that slow ...
0
votes
2answers
932 views

Checkout page load slow

I have a couple of Magento sites (only selling a couple of products from the sites) that have been upgraded a few times since 2010 (now on v1.9) and they have gradually become slower. The page load ...
0
votes
1answer
22 views

Magento 2.4.2 - reporting_system_updates table contain large data

I want to optimize the reporting_system_updates table in my database it is already over 5GB of data. Can I safely truncate/delete this table? If so then anything will happen with my Magento setup? ...
1
vote
0answers
105 views

How to fix a long Time to Interactive in google pagespeed : Magento 2

Can anyone help me to fix " Time to Interactive " In magento 2? I really hope anyone can help me or tell me how to fix it Bad score on google pagespeed - 38 sec
0
votes
1answer
16 views

Does Magento execute a query to get the review count of each single product on the category listing page?

Let's say that your category page shows 36 products at a time and shows the rating/review count underneath each product title. Does Magento perform 36 queries to get each of the product's review ...
1
vote
3answers
2k views

Magento 2: Ram memory issue

I have Magento2 website on production mode. And i have 8gb ubuntu 16.04 server. But i have checked ram memory uses 99% so my website is working slow. Please any one tell me why used my memory 99%? ...
0
votes
1answer
17 views

Magento2: Slow Catalog Pages Loadtime

I have a website built on the top of magento 2, the problem is when I go to any of the catalog pages, the html takes significant time to load for the first time, as shown in the following screenshot: ...
0
votes
1answer
46 views

How to increase site performance by CSS and JS blocks from external Extensions

Hi here my site getting E grade rating in GTmetrix because of some CSS and JS files which came with some extensions. message as Critical am getting: Resources are blocking the first paint of your page....
0
votes
0answers
18 views

Delete the quotes which are converted in to orders

I am currently working on the optimisation of website. While working on it I came across the different log tables in the magento which can be deleted. Similarly if we remove the quotes which are ...
0
votes
2answers
65 views

How to optimize images in magento2

My site speed is very slow. Can anyone please let me know how can I optimize all the images? So, my site loading can be faster.
0
votes
0answers
11 views

How to merge theme JS?

I have merged and minified JS from admin panel-configuration-developer-javascript. But when i inspect the homepage, it still shows me more than 100 files in theme folder /pub/static/version/frontend/...
0
votes
6answers
3k views

how to optimize magento 1.9.X website?

buddy: I have a Magento 1.9.1 version website, I feel it running slower, how to do it can make it run faster? I hope you help! thank you very much!
3
votes
1answer
150 views

Defer merged css in Magento 2

I need to Defer merged css using JavaScript. Is there any possibilities to defer merged css. Example code i want to do. <noscript id="deferred-styles"> <link rel="...
0
votes
0answers
15 views

Optimizing database queries on Magento 1.9

I'm currently working on optimizing my shop running Magento 1.9.3.7 and my Slow Query Log shows only one query as below: SELECT `main_table`.`entity_id`, main_table.`name`, main_table.`path`, `...
1
vote
1answer
59 views

How to change or set cache key based on browser user agent?

Is it possible to maintain separate caches in Varnish or Fastly for desktop and mobile users? I am trying to load only the required items in the mobile devices instead of loading all CSS files, blocks,...
1
vote
0answers
87 views

Luma theme has high CLS. Any suggestions to fix it?

So, trying to find ways to lower my CLS I figured to run a demo Luma site to determine a baseline. Well, that is one bad baseline with a CLS of 0.2 or 0.4, depending how pagespeed interprets the ...
0
votes
2answers
129 views

Magento 2: optimization

I am facing issue with Magento 2 optimization server response What are the measures that are required to fix this My current Magento version in 2.3.4 running on the Cloudflare server
1
vote
0answers
74 views

How can I prevent styles-l.css loading for mobile only?

I'm trying to clean up some of our over stuffed css and js. Chrome inspector shows that styles-l.css is 100% unused for mobile and is used a little for desktop. I used 'remove' in the ...
0
votes
2answers
849 views

How to remove unused js from home page in Magento 2

There are so many js files not used on home page in Magento 2. So, I want to remove it from home page. But, it's not remove still loading on home page. Non used js example : jquery/ui-modules/...
0
votes
1answer
126 views

Magento 2.4.2: SyntaxError: Unexpected token: name (url)

I'm following the instructions to get advanced JS bundling done. I have been doing this over a year without much difficulty. This time around, I find the error below and I would like to know if there ...
0
votes
2answers
146 views

how to optimize queries in magento 1.9 with lots of attributes (over 500)

I have a website running Magento 1.9 which is flooding mysql with slow queries like this SELECT COUNT(DISTINCT e.entity_id) FROM `catalog_product_entity` AS `e` INNER JOIN `...
1
vote
0answers
531 views

Magento 2: Remove unused JS from home page

There are several unused JS files which we do not use on the homepage. JS files are: jquery/ui-modules/datepicker.js jquery/ui-modules/timepicker.js moment.js jquery/ui-modules/sortable.js jquery/...
0
votes
1answer
147 views

WebP Images Google Safari Image Optimization

WebP Images Google Safari Image Optimization We are using Amasty Google Page Speed Optmization Extension for Magento 2 which has Image Optimization options - There are options to covert images to webp ...
0
votes
1answer
30 views

Magento Command for bulk Optimizing existing Product images

How to optimize existing Product images via commandline, similar to resize command. php bin/magento catalog:images:resize https://docs.magento.com/user-guide/catalog/product-image-resizing.html This ...
0
votes
2answers
50 views

Everything in one module or split up in multiple?

Module We're creating a webshop and are mostly creating every file we need in app/code/vendor/module right now. This means we have lots of different features like widgets and logic for multiple ...
3
votes
3answers
3k views

Magento 2 : page speed optimization

Please provide me the suggestion regarding magento 2 store speed up? I already set the minified js and css from the admin panel. Also find too many request in the browser, how can we reduce server ...
6
votes
2answers
1k views

How to add the MAGE_INDEXER_THREADS_COUNT environment variable to env.php?

In Magento 2.2.6 you can take advantage of Multi-threading for the indexers as stated in release notes here: https://devdocs.magento.com/guides/v2.2/release-notes/ReleaseNotes2.2.6EE.html This ...
0
votes
1answer
427 views

Ram memory issue on Magento 2.3.4 website

I have a Magento 2.3.4 website on my server in Production mode. When I check memory usage with "top" command, I got a very high memory usage like this: There are so many php-fpm processes ...
4
votes
2answers
4k views

How to enable CSS Critical Path in Magento 2

How to enable CSS Critical Path in Magento 2.3.0 Reff: https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/css-topics/css-critical-path.html When I try to enable, I'm getting the below error. ...
1
vote
1answer
12 views

Code optimization, adaptation to a large number of conditions

I need to make a condition, if the server code has a certain value, then it will set the appropriate currency. I did this via an if else condition. But if there are many 5+ conditions, it will look ...
0
votes
2answers
1k views

Magento 2 Varnish issue with images

Last days was trying to investigate why my magento 2.3.5p1 instance needed for uncached pages about 10-11 secs to load, measured with timer. I identified that the issues was Porto's template mega menu ...
0
votes
1answer
82 views

How to reduce a large Magento 2 installation?

I'm using Magento 2.4 and my installation is using 200GB, I'd like to reduce it. I want to remove old logs, backups, caches, duplicated images and etc. How could I optimize it?
0
votes
1answer
244 views

Small Images optimization

When I check my Magento store with Page-speed I am always recommended with Optimize Images, when I open the list of images to be optimized all those images are the small images of the products. Is ...
1
vote
0answers
83 views

Magento Performance using image Optimization tool

My current Magento EE1.14 website is loading around 9 seconds with enabling Varnish Cache, Merging JS and CSS, Having Nginx web server, enabling Zend Opcache, running page warm up scripts, enabled ...
1
vote
1answer
62 views

Magento 2 Store Optimization?

I want to optimize magneto store. Magento store is deployed on Aws. I have not installed SSL certificate yet because It is still in development phase so I have not mapped it with domain name it is an ...
0
votes
1answer
37 views

Magento store optimization?

I am facing problem the total number of request send to server is 223 which is huge and due to which loading time is 13 seconds How can I reduce number of elements I have merged and minify JS and css
0
votes
1answer
401 views

404/410 responses. Either fix the broken links or remove the references to non-existent

following errors are returned when our site is tested on gtmetrix. Could you please share your insights into how to resolve them?
0
votes
1answer
140 views

How to optimize my indexes cron execution?

I'm checking how to optimize my cron execution in the reindex action, and I saw the option to run the index job in a separated process. How does it work? can it be helpful to optimize the execution?
0
votes
1answer
47 views

Magento 2 How load product by sku and boot the system minimally?

Me need minimal load system that get ONLY: Product Name, Product Type, Product Url, Thumbnail Url, Price, Sub products for Configurable. Preferably use catalog_product_flat_ table (i think it's good ...
1
vote
1answer
163 views

Magento 2 Js optimization

I use bundle js in magento2 now when i run command the error is comming Error: ENOENT: no such file or directory, open 'E:/projecct/tts-core-au-deveopment/pub/static/frontend/Sm/custom/en_AU/...
1
vote
5answers
5k views

Magento unable to add webp images to category thubmnail

I want to add webp images to category thumbnail, how can we do this, it gives below error on adding webp images "File validation failed."
0
votes
5answers
944 views

Magento 2.2.2 site loading speed is very slow

I am using Magento 2.2.2 EE nginx + varnish + cdn still site is loading very slow for the very first time when I flush the cache from terminal using command 'php bin/magento cache:flush' or from ...
0
votes
2answers
162 views

Performance problems - hosting company suggested to optimize our MySQL database

Magento 1.9.1 Porto theme VPS server with the following: **RAM: 6 GB SSD Web Space: 150 GB Bandwidth: 6000 GB Cores: 8** We've had this hosting account for years and it mostly worked fine. We are ...
0
votes
7answers
4k views

Magento 2 increase site speed

Magento 2 website speed very slow as per https://developers.google.com/speed/pagespeed/insights/ Result of site:- Reduce server response times (TTFB) - 1.68 s JavaScript execution time - 2.9 s ...
7
votes
3answers
5k views

How to get a good Google Pagespeed mobile score for a Magento2 site?

We migrated a website from Drupal to Magento. After the migration the website's Google Pagespeed scores are much lower. With WordPress I can easily get to scores 99 for mobile and 100 for desktop. It'...
0
votes
0answers
51 views

How can I add critical JS on Magento 2.3.3?

Magento 2.3.3 has "Move JS code to the bottom of the page" function which moves all JS code to bottom of the page. I need some JS code(Seal Verification Code which showing verification icon) not ...
0
votes
1answer
39 views

Developer mode enable js merging

I searched for an answer, but I didn't find one. I like to enable js merging and compressing in Magento 2 developer mode. Is this possible? I enabled them in admin, but the merging is not working
0
votes
0answers
40 views

How to speed up the magento 2.2.5 website in production mode

How to speed up the Magento 2.2.5 website in production mode I have tried all default options but still its very slow website url : [https://www.thedottedi.in/] please help me out on this Thanks ...
0
votes
0answers
36 views

How CSS loads partially or not at all in Magento 1?

I have an extremely weird problem that I face for the first time. From time to time (it's really absolutely random), the CSS of a Magento 1.9.3.10 store is not fully loaded. It can happen on a ...